Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Menu
Open sidebar
CoBox Co-operative
cobox-server
Commits
020dd242
Unverified
Commit
020dd242
authored
Apr 09, 2020
by
Kieran Gibb
Browse files
update README
parent
bc31df3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
020dd242
...
...
@@ -13,13 +13,13 @@ Before you get started, ensure you have node `v11.12.0` or greater installed.
git clone http://gitlab.com/coboxcoop/cobox-server && cd cobox-server
# install dependencies
yarn
npm install
# start the app
yarn
start
npm
start
# optional - you can set an alternative port
yarn
start --port 1234
npm
start
--
--port 1234
```
## API
...
...
@@ -93,7 +93,7 @@ Swagger documentation is available at `/api-docs`.
To run a single instance and view the debugger, simply run
```
yar
n dev:server
npm ru
n dev:server
```
...
...
@@ -101,10 +101,10 @@ To run two separate instances alongside eachother so you can get groups replicat
```
# open one terminal and run
y
ar
n
dev:server --port 1234 --mount ~/cobox/mount/one --storage ~/cobox/one
npm st
ar
t
dev:server
--
--port 1234 --mount ~/cobox/mount/one --storage ~/cobox/one
# open a second terminal and run
y
ar
n
dev:server --port 2345 --mount ~/cobox/mount/two --storage ~/cobox/two
npm st
ar
t
dev:server
--
--port 2345 --mount ~/cobox/mount/two --storage ~/cobox/two
```
# Contributing
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment