Skip to content

Commit 9e41dc6

Browse files
committed
improved instructions
1 parent 3a20c7d commit 9e41dc6

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

README.md

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Listed below is an explanation of each file. [Ask a question!](https://github.co
1818
- Git
1919
- Make ([Windows](https://stackoverflow.com/questions/32127524/how-to-install-and-use-make-in-windows-8-1))
2020

21+
2122
---
2223

2324
## Build Breakdown
@@ -54,7 +55,7 @@ Docker Compose YML configuration [more info](https://docs.docker.com/docker-clou
5455

5556
Launch the **Apache** instance locally and setup a local MySQL database container for persistant database data, the goal is to create a easy to use development environment.
5657

57-
The **Apache** container the directory `/data` is shared to your local system via **Line 7** within `docker-container.local.yml` file
58+
The **Apache** container the directory `/data` is shared to your local system via **Line 7** within `docker-compose.local.yml` file
5859

5960

6061
---
@@ -63,18 +64,19 @@ The **Apache** container the directory `/data` is shared to your local system vi
6364

6465
Use the following command with Google Compute. This will create a [virtual machine instance](https://cloud.google.com/sdk/gcloud/reference/beta/compute/instances/create-with-container) running [COS](https://cloud.google.com/container-optimized-os/) (Container Operating System).
6566

67+
`.env.LIVE` will need to exist within the directory you execute the following command from:
6668
```bash
67-
gcloud compute instances create-with-container www0 --zone us-central1-b --machine-type f1-micro --container-env-file .env.LIVE --container-image=docker.io/htmlgraphic/apache:latest
69+
gcloud compute instances create-with-container www0 --zone us-central1-b --tags=https-server,http-server --machine-type f1-micro --container-env-file .env.LIVE --container-image=docker.io/htmlgraphic/apache:latest
6870
```
6971

72+
Make any changes to the `.env` file, be sure to update the container
7073
```bash
7174
gcloud compute instances update-container www0 --zone us-central1-b --container-env-file .env.LIVE
7275
```
7376

7477

7578
---
7679

77-
7880
### Mac OS X / Linux
7981

8082
> Type `make` for more build options:
@@ -85,12 +87,26 @@ gcloud compute instances update-container www0 --zone us-central1-b --container-
8587
> make run
8688
```
8789

88-
### (non Make Windows)
90+
### Windows
91+
8992
```bash
93+
> git clone https://github.com/htmlgraphic/Apache.git ~/Docker/Apache; cd ~/Docker/Apache
9094
> copy .env.example .env
9195
> docker-compose -f docker-compose.local.yml up -d
9296
```
9397

98+
> Optional, are you having problems on Windows? Disable Firewall
99+
100+
```bash
101+
> netsh advfirewall show currentprofile
102+
> netsh advfirewall set allprofiles state off
103+
```
104+
105+
106+
####
107+
108+
109+
94110

95111
## phpMyAdmin
96112

0 commit comments

Comments
 (0)