Updated readme
This commit is contained in:
parent
ea6bf2d09a
commit
ebc7d2451d
13
README.md
13
README.md
@ -12,8 +12,7 @@ This project was generated with [Angular CLI](https://github.com/angular/angular
|
|||||||
- _[Docker](https://docs.docker.com/install/) (Optional)_
|
- _[Docker](https://docs.docker.com/install/) (Optional)_
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
If you are setting up CWB for the first time, please check out the [CWB project](https://gitlab.psdcitywide.com/cwb/cwb).
|
The project can either be run using NPM or Docker. NPM is recommended for development.
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary>NPM</summary>
|
<summary>NPM</summary>
|
||||||
|
|
||||||
@ -37,12 +36,12 @@ The website should now be accessible on [http://localhost:4200](http://localhost
|
|||||||
npm run start
|
npm run start
|
||||||
|
|
||||||
# Build production
|
# Build production
|
||||||
npm run build
|
npm run build:prod
|
||||||
|
|
||||||
# Run unit tests
|
# Build docker image
|
||||||
npm test
|
docker build -t legio-xxx:<TAG>
|
||||||
|
|
||||||
# Run linter
|
# Run docker image
|
||||||
npm run lint
|
docker run -p 4200:80 legio-xxx:<TAG>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user