Untitled

mail@pastecode.io avatarunknown
plain_text
25 days ago
483 B
1
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