1
1
mirror of https://github.com/aelve/guide.git synced 2024-11-24 05:45:11 +03:00

Add npm commands (#193)

This commit is contained in:
Jens Krause 2017-08-27 19:29:37 +02:00
parent 6a49d7b6ad
commit 5d5fd84b47
No known key found for this signature in database
GPG Key ID: 3B2FAFBCEFA5906D

View File

@ -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).