Skip to content

Get-Workers/get-workers

Repository files navigation

Get Workers

Setup

1. Prepare .env

cp .env.example .env

2. Run composer install

docker compose run --no-deps --entrypoint='composer install' app

3. Generate application key

docker compose run --no-deps --entrypoint='php artisan key:generate' app

4. Up all containers

docker compose up -d

5. Run all fresh migrations

docker compose run --entrypoint='php artisan migrate:fresh' app

Or with seeds

docker compose run --entrypoint='php artisan migrate:fresh --seed' app

6. Compile Front-end

docker compose exec app npm run dev

Only up

1. UP

docker compose up -d

1. Compile Front-end

docker compose exec app npm run dev