From c83c6cb226ada0403dcbee2e07380f7012cf6f1a Mon Sep 17 00:00:00 2001 From: David Mehren Date: Fri, 27 Nov 2020 21:22:32 +0100 Subject: Document that Git can also be used to checkout releases. Signed-off-by: David Mehren --- docs/setup/manual-setup.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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` -- cgit v1.2.3