diff options
author | David Mehren | 2020-11-27 21:22:32 +0100 |
---|---|---|
committer | David Mehren | 2020-11-27 22:41:54 +0100 |
commit | c83c6cb226ada0403dcbee2e07380f7012cf6f1a (patch) | |
tree | ae03be66b213f1359b4e024010971ea39b1afaa3 /docs | |
parent | 7bcf548cd2483b61175ba92da3e93714f0abc8b4 (diff) |
Document that Git can also be used to checkout releases.
Signed-off-by: David Mehren <git@herrmehren.de>
Diffstat (limited to '')
-rw-r--r-- | docs/setup/manual-setup.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/setup/manual-setup.md b/docs/setup/manual-setup.md index 859dd83c..6cb7c75a 100644 --- a/docs/setup/manual-setup.md +++ b/docs/setup/manual-setup.md @@ -19,9 +19,10 @@ 1. Check if you meet the [requirements at the top of this document](#requirements-on-your-server). 2. Download a [release](https://github.com/hedgedoc/hedgedoc/releases) tarball and extract it. + Alternatively, you can use Git to clone the repository and checkout a release, e.g. with `git clone -b 1.7.0 https://github.com/hedgedoc/hedgedoc.git`. 3. Enter the directory and type `bin/setup`, which will install the dependencies and create configs. 4. Modify the file named `config.json` or configure HedgeDoc through environment variables which will overwrite the configs, see docs [here](https://github.com/hedgedoc/hedgedoc/blob/master/docs/configuration.md). -5. **Skip this step for release 1.7 and newer!** +5. **If using the release tarball for 1.7.0 or newer, this step can be skipped.** Build the frontend bundle by `yarn run build` (use `yarn run dev` if you are in development) 6. Modify the file named `.sequelizerc`, change the value of the variable `url` to your db connection string. For example: - `postgres://username:password@localhost:5432/hedgedoc` |