mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-22 19:25:18 -04:00
fix(docs): adjust frontend and reverse proxy docs
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
5275007a98
commit
d5dfbb575a
8 changed files with 148 additions and 127 deletions
19
docs/content/dev/setup/backend.md
Normal file
19
docs/content/dev/setup/backend.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
<!--
|
||||
SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
||||
|
||||
SPDX-License-Identifier: CC-BY-SA-4.0
|
||||
-->
|
||||
|
||||
## Setting up the backend
|
||||
|
||||
**ToDo:** Document how to set up development environment using docker.
|
||||
|
||||
You need at least Node 14 (we recommend Node 18) and [yarn](https://yarnpkg.com/).
|
||||
You MUST use yarn! There is no support for npm.
|
||||
|
||||
1. Clone this repo (e.g. `git clone https://github.com/hedgedoc/hedgedoc.git hedgedoc`)
|
||||
2. Go into the backend directory (e.g. `cd hedgedoc/backend`)
|
||||
3. Run `yarn install`
|
||||
4. Create an environment file. We recommend to use the example file by running `cp .env.example .env`
|
||||
You can modify this file according to the [configuration documentation](../config/index.md).
|
||||
5. Run `openssl rand -hex 16 | sed -E 's/(.*)/HD_SESSION_SECRET=\1/' >> .env` to generate a session secret if you have not set one manually before.
|
Loading…
Add table
Add a link
Reference in a new issue