- directory refactor (#32)
* - directory refactor * - readme.md update * Update readme.md Co-authored-by: Adrian Hopek <adrian.hopek@blumilk.pl> * Update readme.md Co-authored-by: Ewelina Lasowy <56546832+EwelinaLasowy@users.noreply.github.com> * Update readme.md Co-authored-by: Ewelina Lasowy <56546832+EwelinaLasowy@users.noreply.github.com> * Update readme.md Co-authored-by: Ewelina Lasowy <56546832+EwelinaLasowy@users.noreply.github.com> * Update readme.md Co-authored-by: Adrian Hopek <adrian.hopek@blumilk.pl> Co-authored-by: Ewelina Lasowy <56546832+EwelinaLasowy@users.noreply.github.com>
This commit is contained in:
13
setup
Normal file
13
setup
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ ! -f ".env" ]; then
|
||||
cp .env.example .env
|
||||
fi
|
||||
|
||||
docker-compose build --no-cache --pull
|
||||
docker-compose up -d
|
||||
docker-compose run --rm -u "$(id -u):$(id -g)" php composer install
|
||||
docker-compose run --rm -u "$(id -u):$(id -g)" php php artisan key:generate
|
||||
docker-compose run --rm -u "$(id -u):$(id -g)" php php artisan migrate --seed
|
||||
docker-compose run --rm -u "$(id -u):$(id -g)" node npm install
|
||||
docker-compose run --rm -u "$(id -u):$(id -g)" node npm run dev
|
Reference in New Issue
Block a user