2021-02-19 06:43:55 -05:00
|
|
|
# 2.0 Development Notes
|
|
|
|
This document collects notes and decisions taken during the development of HedgeDoc 2.0.
|
|
|
|
It should be converted to a properly structured documentation, but having unstructured docs
|
|
|
|
is better than having no docs.
|
2020-07-26 11:28:32 -04:00
|
|
|
|
2021-02-19 06:50:16 -05:00
|
|
|
## Supported databases
|
|
|
|
We intend to officially support and test these databases:
|
|
|
|
- SQLite (for development and smaller instances)
|
|
|
|
- PostgreSQL
|
|
|
|
- MariaDB
|
|
|
|
|
2021-02-27 08:16:29 -05:00
|
|
|
## Special Groups
|
|
|
|
The software provides two special groups which have no explicit users:
|
|
|
|
- `everyone` (Describing that everyone who wants to access a note can do if it is enabled in the config.)
|
|
|
|
- `loggedIn` (Describing all users which are logged in)
|
2021-02-19 06:50:16 -05:00
|
|
|
|
2020-07-26 11:28:32 -04:00
|
|
|
## Dev Setup
|
|
|
|
- Clone backend and frontend in two folders.
|
|
|
|
- Run `yarn install` in both projects
|
|
|
|
- Start the backend server in watch mode using `yarn start:dev`. The backend is then accessible on port 3000.
|
|
|
|
- Start the frontend dev server using `yarn start`. The frontend is now accessible on port 3001.
|