Commit 62c37e2e authored by Daniel Król's avatar Daniel Król

Add init script

parent e6c5e608
To start application run
```
docker-compose up
```
To init database, dependencies etc run
```
./bin/init
```
#!/bin/sh
docker exec -it idh_php_1 bash -c "apt-get install -y gnupg apt-transport-https && curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && echo \"deb https://dl.yarnpkg.com/debian/ stable main\" | tee /etc/apt/sources.list.d/yarn.list && apt-get update && apt-get install -y yarn && cd /var/www/app && yarn --ignore-engines && composer install && bin/console doctrine:migrations:migrate -n && bin/console doctrine:fixtures:load -n"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment