Skip to content

Commit

Permalink
Update README with missing steps
Browse files Browse the repository at this point in the history
  • Loading branch information
zerolab authored Jul 26, 2019
1 parent 1d77072 commit 544c5f6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ HEADLESS_PREVIEW_CLIENT_URLS = {
}
```

Run migrations:

```sh
$ ./manage.py migrate
```


## Usage

Expand Down Expand Up @@ -173,6 +179,8 @@ For further information about configuring the wagtail API, refer to the [Wagtail
CORS_ORIGIN_ALLOW_ALL = True
CORS_URLS_REGEX = r'^/api/v2/'
```

and follow the rest of the [setup instructions for django-cors-headers](https://github.com/ottoyiu/django-cors-headers#setup).

* Start up your site as normal: `./manage.py runserver 0:8000`
* Serve the front-end `client/index.html` at `http://localhost:8020/`
Expand Down

0 comments on commit 544c5f6

Please sign in to comment.