-
System startup.
cp .env.example .env docker-compose up -d docker ps docker-compose exec app composer install docker-compose exec app php artisan key:generate docker-compose exec app php artisan config:cache
-
Checking MySQL.
docker-compose exec db mysql -uuser -ppass -e "show databases"
or check using "adminer" service in browser http://localhost:8080
-
Init and checking migrations.
docker exec -it app bash
ordocker-compose exec app bash
php artisan migrate php artisan db:seed php artisan tinker \DB::table('migrations')->get();
-
NPM install
npm install npm run watch
-
Start parser and queue processing
php artisan parser php artisan queue:listen --queue=petrovich
-
Check http://localhost in the browser.