Root: lumenapi
- always base under this root directory
Steps below apply when it is the first time setting up the lumenapi project.
- Create
.env
basing.env.example
- change necessary configuration specially DB credentials - Run
composer install
- Run
php artisan migrate
- to make updates on database schema if there are any - Make sure
storage
directory has write access. To make sure, runchmod storage -R 775
Steps apply for code updates
- Do necessary fetching of updated source codes
- (Only when specified) -
composer install
- if there are any updates in the lumen dependenciescomposer.json
php artisan migrate
composer dumpautoload