Commit e2af59f0 authored by massi's avatar massi
Browse files

docs: updated getting_started

Tips for using pubsweet with no root rights and no changes to PATH
parent c8ffb021
Pipeline #12978 failed with stages
in 10 minutes and 41 seconds
......@@ -8,12 +8,27 @@ Once these are installed, you can install `pubsweet`, our command-line tool:
yarn global add pubsweet
```
And use it to create a new application:
In case you can't install yarn globally, type:
```bash
yarn add pubsweet
```
and it will install pubsweet in your home directory.
Then use it to create a new application:
```bash
pubsweet new yourAppName
```
You may get an error if the pubsweet executable is not in your `PATH`.
You may set the `PATH` environment variable or simply replace the command `pubsweet` with `yarn pubsweet`, like this:
```bash
yarn pubsweet new yourAppName
```
This will initialize a new PubSweet application based on [PubSweet starter](https://gitlab.coko.foundation/pubsweet/pubsweet-starter).
Once this is complete (it will also install the needed dependencies), you can start developing with PubSweet:
......
Supports Markdown
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