Skip to content

Commit

Permalink
Moved google analytics to right section in readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
eskimor committed Apr 19, 2019
1 parent 7779f76 commit 3bb9bf3
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,22 @@ You will be presented with a screen showing your application's client id and its

The client id must go into `config/common/oauth/github/client-id`. The client secret must go into `config/backend/oauth/github/client-secret` of your deployment directory (or in your checked out source repository, when setting up a developer environment).

## Google Analytics tracking

pact-web is set up for basic Google Analytics tracking. You can configure the used tracking id by providing a config file in the deploy directory containing your desired tracking id:

```bash
$ cd <dirname>
$ mkdir config/frontend
$ echo 'your-new-id' > config/frontend/tracking-id
```

Then of course, run the deployment:

```bash
ob deploy push
```

### Actual deployment

Use `ob deploy` from the deploy directory:
Expand All @@ -90,22 +106,6 @@ To provide a dynamic configuration (one that can be changed, without re-deployme

Note: If you can do re-deployments: You can also change the static configuration at `config/common/pact-server-list` in your deploy directory and do a re-deploy anytime. Deployments with only the configuration changed are pretty fast.

## Google Analytics tracking

pact-web is set up for basic Google Analytics tracking. You can configure the used tracking id by providing a config file in the deploy directory containing your desired tracking id:

```bash
$ cd <dirname>
$ mkdir config/frontend
$ echo 'your-new-id' > config/frontend/tracking-id
```

Then of course, run the deployment:

```bash
ob deploy push
```

# Deploy pact -s server instances

This repo also includes support for setting up test server backends for
Expand Down

0 comments on commit 3bb9bf3

Please sign in to comment.