This commit is contained in:
cupcakearmy 2022-04-12 09:12:40 +02:00
parent 19022e7cb5
commit cc88fa6763
No known key found for this signature in database
GPG Key ID: 3235314B4D31232F
1 changed files with 25 additions and 4 deletions

View File

@ -127,11 +127,32 @@ services:
## Development
1. Clone
2. run `pnpm i` in the root and and client `client/` folders.
3. Run `pnpm run dev` to start development.
**Requirements**
Running `npm run dev` in the root folder will start the following things
- `pnpm`: `>=6`
- `node`: `>=14`
- `rust`: edition `2021`
**Install**
```bash
pnpm install
pnpm --prefix frontend install
# Also you need cargo watch if you don't already have it installed.
# https://lib.rs/crates/cargo-watch
cargo install cargo-watch
```
**Run**
Make sure you have docker running.
```bash
pnpm run dev
```
Running `pnpm run dev` in the root folder will start the following things:
- a memcache docker container
- rust backend with hot reload