-
Notifications
You must be signed in to change notification settings - Fork 0
How To Build
Muhammad Yafi edited this page Oct 13, 2016
·
2 revisions
- PHP >= 5.4.0
- PostgreSQL
- Composer (can be found here)
- Clone this repository
- Install composer. Ensure you can run it from command prompt with
php composer.phar
orcomposer
- Run
composer install
orphp composer.phar install
- Copy paste
.env.example
here into .env and modify the following values:DB_HOST
,DB_PORT
,DB_DATABASE
,DB_USERNAME
, andDB_PASSWORD
- If something goes wrong, use the application log here (doesn't exist in this repo, but available in your local project folder)
- Run
php artisan migrate
- To fill the database, use
php artisan db:seed
- To run the server, use
php artisan serve
- You can access the server at
http://localhost:8000/
and start using the API