mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 11:16:31 -05:00
01d9168819
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
928 B
928 B
Getting started
Preparing for running the backend code
ToDo: Document how to set up development environment using docker.
-
Clone the repository with
git clone https://github.com/hedgedoc/hedgedoc.git
(cloning is the preferred way, but you can also download and unzip a release) -
Enter the directory and run
yarn install
. -
Run
cp .env.example .env
to use the example configuration.Alternatively, set up a .env or set up environment variables yourself.
-
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.
Running backend and frontend together
The documentation for setting up the frontend and how to use it and the backend together can be found in the frontend repository README.