Package Data | |
---|---|
Maintainer Username: | pietercolpaert |
Package Create Date: | 2013-10-07 |
Package Last Update: | 2017-10-23 |
Home Page: | https://reservations.flatturtle.com |
Language: | PHP |
License: | AGPL-3.0 |
Last Refreshed: | 2024-04-30 03:04:19 |
Package Statistics | |
---|---|
Total Downloads: | 11 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 32 |
Total Watchers: | 14 |
Total Forks: | 8 |
Total Open Issues: | 3 |
Reservations api to reserve things (such as meeting rooms)
git clone git@github.com:FlatTurtle/Reservations.git
cd Reservations
php composer.phar install
# when deploying, be sure to chmod app/storage to 777
chmod -R 777 app/storage
# create a database for development purposes and add the credentials over here:
vim app/config/local/database.php
# Now add your hostname to the array in this file:
vim bootstrap/start.php
Finally, when doing a commit, please don't commit a filled out local/database.php!
You can use artisan to generate the right parameters for a HTTP request towards the API.
Usage:
./artisan reservations:addUser
./artisan reservations:addThing
//... todo
You can run the unittests by creating a mysql database called reservations_test
.
A user called travis
should have access and the password should be blank.
# create a database for testing purposes and add the credentials over here:
vim app/config/testing/database.php
# run the tests
phpunit
For more questions, consult the wiki on github.
2013-2014 - FlatTurtle
Code is licensed under AGPLv3