Skip to content

Commit f04269b

Browse files
committed
Changed README
1 parent 3fd8e7f commit f04269b

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

README.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff 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.
2626
3. **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+
````
4649
5. **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

0 commit comments

Comments
 (0)