File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ NAME = apache
6
6
IMAGE_REPO = htmlgraphic
7
7
IMAGE_NAME = $(IMAGE_REPO ) /$(NAME )
8
8
DOMAIN = htmlgraphic.com
9
- include .env
9
+ include .env # .env file needs to created for this to work properly
10
10
11
11
12
12
all :: help
47
47
48
48
run :
49
49
@echo ' Checking... initial run structure'
50
- @if [ ! -d " /Volumes/Case " ]; then \
51
- echo " Creating project folders" && sudo mkdir -p /Volumes/Case && sudo mkdir -p /Volumes/Case/ SITES && sudo mkdir -p /Volumes/Case /SITES/docker; fi
50
+ @if [ ! -d " ~/SITES/docker " ]; then \
51
+ echo " Creating project folders" && sudo mkdir -p ~ / SITES && sudo mkdir -p ~ /SITES/docker; fi
52
52
@make env
53
53
@echo " Upon initial setup run the following on the MySQL system, this will setup a GLOBAL admin:"
54
54
@echo " "
Original file line number Diff line number Diff line change @@ -53,10 +53,12 @@ Launch the **Apache** instance locally and setup a local MySQL database containe
53
53
54
54
``` bash
55
55
$ git clone https://github.com/htmlgraphic/Apache.git ~ /Docker/Apache && cd ~ /Docker/Apache
56
+ $ cp .env.example .env
56
57
$ make run
57
58
58
59
OR (non Make Windows)
59
60
61
+ $ copy .env.example .env
60
62
$ docker-compose -f docker-compose.local.yml up -d
61
63
```
62
64
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ services:
4
4
image : ' htmlgraphic/apache:envoyer'
5
5
container_name : apache
6
6
volumes :
7
- - " /Volumes/Case /SITES/docker:/data" # <- Change to preferred local working dir
7
+ - " ~ /SITES/docker:/data" # <- Change to preferred local working dir
8
8
# - "/c/Users/southpark/docker:/data"
9
9
links :
10
10
- " db:mysql"
You can’t perform that action at this time.
0 commit comments