Skip to content
Snippets Groups Projects
Commit 14c268f5 authored by Jure's avatar Jure
Browse files

docs: add credit to Spectrum for real-time chat

parent ddf280ee
No related branches found
No related tags found
No related merge requests found
# Kotahi # Kotahi
Kotahi is a manuscript submission system, based on the discontinued [xpub-collabra](https://gitlab.coko.foundation/xpub/xpub) project. Kotahi is a manuscript submission system, based on the discontinued [xpub-collabra](https://gitlab.coko.foundation/xpub/xpub) project.
It is currently under development by the [Coko Foundation](https://coko.foundation/) and is being built with [Pubsweet](https://gitlab.coko.foundation/pubsweet/pubsweet). It is currently under development by the [Coko Foundation](https://coko.foundation/) and is being built with [Pubsweet](https://gitlab.coko.foundation/pubsweet/pubsweet).
...@@ -9,6 +10,7 @@ Developer beware! This project is currently under very heavy development, so thi ...@@ -9,6 +10,7 @@ Developer beware! This project is currently under very heavy development, so thi
### Running the app ### Running the app
Start with installing the dependencies: Start with installing the dependencies:
``` ```
yarn yarn
``` ```
...@@ -17,9 +19,9 @@ Create the file `local-development.json` inside the `config` folder. ...@@ -17,9 +19,9 @@ Create the file `local-development.json` inside the `config` folder.
```json ```json
{ {
"pubsweet-server": { "pubsweet-server": {
"secret": "<your-secret-here>" "secret": "<your-secret-here>"
} }
} }
``` ```
...@@ -30,6 +32,7 @@ yarn start:services ...@@ -30,6 +32,7 @@ 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
``` ```
...@@ -41,6 +44,11 @@ docker run -e DATABASE_URL="postgres://yourusername@host.docker.internal/yourdat ...@@ -41,6 +44,11 @@ docker run -e DATABASE_URL="postgres://yourusername@host.docker.internal/yourdat
``` ```
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
``` ```
# Other credits
The real-time chat functionality was heavily inspired by https://github.com/withspectrum/spectrum, from data model approach to copying and adapting certain bits of their React app. Thank you, Spectrum!
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