Skip to content
Snippets Groups Projects
Commit 1cc066f5 authored by Jure's avatar Jure
Browse files

docs: update README with accurate if very complex running instructions

parent 41df4641
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ It is currently under development by the [Coko Foundation](https://coko.foundati ...@@ -4,7 +4,7 @@ It is currently under development by the [Coko Foundation](https://coko.foundati
## Installation ## Installation
Developer beware! This project is currently under heavy development, so things will most definitely be broken. We also don't have a fixed roadmap for it at this point. Developer beware! This project is currently under very heavy development, so things will most definitely be broken. We also don't have a fixed roadmap for it at this point.
### Running the app ### Running the app
...@@ -23,18 +23,24 @@ Create the file `local-development.json` inside the `config` folder. ...@@ -23,18 +23,24 @@ Create the file `local-development.json` inside the `config` folder.
} }
``` ```
Run the Docker container for the database and the XSweet (Docx to HTML conversion) job runner. Run the Docker container for the database:
``` ```
yarn start:services yarn start:services
``` ```
Now (in a separate terminal) run the server (backend PubSweet app). Now (in a separate terminal) run the server (backend PubSweet app):
``` ```
yarn pubsweet start:server yarn pubsweet start:server
``` ```
And the XSweet (Docx to HTML conversion) job runner:
```
docker run -e DATABASE_URL="postgres://yourusername@host.docker.internal/yourdatabase" -e WAIT_SERVICE_PORT="host.docker.internal:5432" pubsweet/job-xsweet
```
And in another terminal run the client (webpack-based PubSweet app): And in another terminal run the client (webpack-based PubSweet app):
``` ```
yarn pubsweet start:client yarn pubsweet start:client
``` ```
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment