Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
483 B
2
Indexable
Never
#!/bin/bash

sudo docker-compose up -d --force-recreate
sudo docker-compose exec register composer install
sudo docker-compose exec register php -r "file_exists('.env') || copy('.env.example', '.env');"
sudo docker-compose exec register php artisan key:generate --ansi
sudo docker-compose exec register php artisan migrate
echo "Documentation available at: http://localhost:8080/api/documentation"
echo "...Init queue work..."
sudo docker-compose exec register php artisan queue:work