Add some more installation clarification to the README

This commit is contained in:
Jelle Hermsen 2021-11-19 15:33:16 +01:00
parent 73469ba028
commit dfa1c46568
1 changed files with 14 additions and 2 deletions

View File

@ -2,13 +2,25 @@
Tool for migrating Wings content to WordPress.
## Pull in mobile-doc-wp-renderer
git clone git@gitlab.com:bij1/site/mobiledoc-wp-renderer.git
## Build mobile-doc-wp-renderer
`cd mobiledoc-wp-renderer`
`yarn install`
`cd ..`
## `yarn install`
Install all the dependencies
## `yarn fetch`
Fetches all content from Wings and saves it to `content.json`,
requires the following environment variables.
```
WINGS_ENDPOINT
WINGS_ENDPOINT (for example https://api.wings.dev)
WINGS_PROJECT
WINGS_APP_KEY
```
@ -20,7 +32,7 @@ publishes them along with their media, requires the following
environment variables.
```
WP_ENDPOINT
WP_ENDPOINT (for example http://localhost:8000/wp-json)
WP_USER
WP_PASSWORD
```