Skip to content

Commit

Permalink
Move host section and update build docs
Browse files Browse the repository at this point in the history
  • Loading branch information
valendesigns committed Feb 24, 2019
1 parent 7eda319 commit 85b3d93
Showing 1 changed file with 30 additions and 10 deletions.
40 changes: 30 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,43 @@ make api.setup

_You can run the setup script to initialize WordPress for the first time or if you would like a convenient way to update the default values when you change relevant environment variables._

#### Hosts File

Add the following entry to your hosts file to make sure `tide.local` is pointed at your local Tide instance:

```
127.0.0.1 tide.local
```
_You can change the `tide.local` URL to some other value by modifying the `API_AUTH_URL` and `API_HTTP_HOST` variables inside the `.env` file._

### Build Images

Install Glide dependencies and build images:
Installs the Glide dependencies, creates the Go binaries, and builds all the Docker images:

```
make build.images
```

#### Isolated Build

Lighthouse Image:

```
make lighthouse.build.image
```

PHPCS Image:

```
make phpcs.build.image
```

Sync Image:

```
make sync.build.image
```

### Start Servers

It is recommended that you run these Docker containers separately and start the servers in new shells in order to isolate the output. However, you can start all services (API, Lighthouse Server, PHPCS Server, Sync Server) with the following command:
Expand Down Expand Up @@ -152,15 +181,6 @@ Sync Server:
make sync.up
```

### Hosts File

Add the following entry to your hosts file to make sure `tide.local` is pointed at your local Tide instance:

```
127.0.0.1 tide.local
```
_You can change the `tide.local` URL to some other value by modifying the `API_AUTH_URL` and `API_HTTP_HOST` variables inside the `.env` file._

---

### Running Audits
Expand Down

0 comments on commit 85b3d93

Please sign in to comment.