Updated readme
This commit is contained in:
@@ -4,30 +4,21 @@ Sito con una bacheca di problemi e la possibilità di inviare soluzioni in markd
|
||||
|
||||
## 1. Setup
|
||||
|
||||
- Server
|
||||
Installare tutte le dipendenze con il package manager preferito di turno (ed in tal caso sostituire `npm` con ad esempio `pnpm` o `yarn`)
|
||||
|
||||
```bash shell
|
||||
$ pnpm install
|
||||
```
|
||||
|
||||
- Frontend
|
||||
|
||||
```bash shell
|
||||
$ cd frontend
|
||||
$ pnpm install
|
||||
```
|
||||
```bash shell
|
||||
$ npm install
|
||||
```
|
||||
|
||||
## 2. Development
|
||||
|
||||
- Server
|
||||
```bash shell
|
||||
$ npm run dev
|
||||
```
|
||||
|
||||
```bash shell
|
||||
$ node main.js
|
||||
```
|
||||
## 2. Production
|
||||
|
||||
- Frontend
|
||||
|
||||
```bash shell
|
||||
$ cd frontend
|
||||
$ pnpm run dev
|
||||
```
|
||||
```bash shell
|
||||
$ npm run build
|
||||
$ npm run serve
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user