2021-06-05 21:09:18 +00:00
|
|
|
# Building the development environment
|
|
|
|
|
2021-06-09 18:11:04 +00:00
|
|
|
cd into the project directory and run the following command: `sudo sh bin/startdocker.sh`
|
2021-06-05 21:09:18 +00:00
|
|
|
This should start building the images and start the containers.
|
|
|
|
|
|
|
|
After that you need to go into the controlpanel_php container and run some commands:
|
|
|
|
|
|
|
|
Type `docker exec -it controlpanel_php ash` to go into the container and run the following commands:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
composer install
|
|
|
|
cp .env.dev .env
|
|
|
|
php artisan key:generate --force
|
|
|
|
php artisan storage:link
|
|
|
|
php artisan migrate --seed --force
|
|
|
|
```
|