Laravel project and docker-compose-laravel configuration
``` sudo docker-compose up -d --build site && \ docker-compose run --rm composer install && \ docker-compose run --rm artisan run-all && \ docker-compose run --rm artisan l5-swagger:generate && \ docker-compose run --rm artisan queue:work ```All following deploying commands: copy and paste in to the terminal:
sudo docker-compose up -d --build site && \
docker-compose run --rm artisan run-all && \
docker-compose run --rm artisan l5-swagger:generate && \
docker-compose run --rm artisan queue:work
Then go to http://localhost:6789/api/documentation
Installation requirements here
Command
php artisan run-all
could be run separately:
docker-compose run --rm artisan key:generate
docker-compose run --rm artisan migrate
docker-compose run --rm artisan db:seed
docker-compose run --rm artisan l5-swagger:generate
Test user will be created with id 1
and test user account will be create with id 1
. There will be also 1000 test transaction seeds.
To view swagger follow http://$your-local-domain/api/documentation