mirror of
https://github.com/aelve/guide.git
synced 2024-12-24 21:35:06 +03:00
Add npm
commands (#193)
This commit is contained in:
parent
6a49d7b6ad
commit
5d5fd84b47
@ -30,16 +30,28 @@ git checkout front-ps-next
|
||||
```sh
|
||||
yarn
|
||||
```
|
||||
or by using `npm`:
|
||||
```sh
|
||||
npm i
|
||||
```
|
||||
|
||||
5. Build Express server
|
||||
```sh
|
||||
yarn build:server
|
||||
```
|
||||
or by using `npm`s:
|
||||
```sh
|
||||
npm run build:server
|
||||
```
|
||||
|
||||
6. Build pages (e.g. `category-overview` or `category-detail`)
|
||||
```sh
|
||||
yarn build:client
|
||||
```
|
||||
or by using `npm`:
|
||||
```sh
|
||||
npm run build:client
|
||||
```
|
||||
|
||||
## Run
|
||||
|
||||
@ -52,5 +64,9 @@ stack exec guide
|
||||
```sh
|
||||
yarn start
|
||||
```
|
||||
or by using `npm`:
|
||||
```sh
|
||||
npm start
|
||||
```
|
||||
|
||||
Open [`http://localhost:3333`](http://localhost:3333).
|
||||
|
Loading…
Reference in New Issue
Block a user