File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed
Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -21,28 +21,31 @@ Includes local end production settings.
2121 ````
2222 cp .env.example .env
2323 ````
24- Set PROJECT_NAME variable.
25- Set PROJECT_FOLDER variable for example ` backend` or whatever you want - by default it is main.
24+ Set ` PROJECT_NAME` variable.
25+ Set ` PROJECT_FOLDER` variable for example ' backend' or whatever you want - by default it is main.
26263. **Configure main `docker-compose.yml` file**
2727 ````
2828 cp docker-compose.yml.local docker-compose.yml
2929 ````
3030 Set variables for mysql container. Docker will create database and user at first UP.
31+ ````
3132 MYSQL_ROOT_PASSWORD:
3233 MYSQL_DATABASE: ${PROJECT_NAME}
3334 MYSQL_USER: ${PROJECT_NAME}
3435 MYSQL_PASSWORD:
35- 4. **Configure App `.env`**
36+ ````
37+ 4. **Configure Application `.env`**
3638 ````
3739 # By default ${PROJECT_FOLDER}=main
3840 cp ${PROJECT_FOLDER}/.env.example cp ${PROJECT_FOLDER}/.env
3941 ````
4042 Set variables from *step 3*
41- DB_HOST=mysql
42- DB_DATABASE=
43- DB_USERNAME=
44- DB_PASSWORD=
45-
43+ ````
44+ DB_HOST=mysql
45+ DB_DATABASE=
46+ DB_USERNAME=
47+ DB_PASSWORD=
48+ ````
46495. **Run Application**
4750 ````
4851 docker-compose up -d --build
@@ -58,5 +61,5 @@ Includes local end production settings.
5861 # Migrate
5962 docker-compose exec -uwww-data php-fpm php artisan migrate
6063 ````
61- 6. **Run http://localhost:8989/register**
64+ 6. **Launch http://localhost:8989/register**
6265
You can’t perform that action at this time.
0 commit comments