Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
added spaces to commands
fixed yarn command instead of npm
  • Loading branch information
jozzi committed Nov 21, 2019
1 parent 5cefeef commit 5a83e07
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Expand Up @@ -11,29 +11,29 @@ In order to build and run the web application in the same way as it does in prod
##### Build Frontend

```
$pushd frontend
$ pushd frontend
npm install
npm run build
popd
```

##### Build Backend
```
$pushd backend
$ pushd backend
npm install
npm run build
```

### Running local server
In server directory
```
$npm run server
$ npm run server
```

Other way to do this is to use Docker image in the repo root folder
```
$docker build -t operatorhub .
`docker run operatorhub
$ docker build -t operatorhub .
docker run operatorhub
```


Expand All @@ -46,7 +46,7 @@ This is prefered way when working on front end code. You do not have to care abo
###### Running the local UI in dev mode

```
$cd frontend
$ cd frontend
npm install
npm start
http://0.0.0.0:9060/
Expand Down Expand Up @@ -78,7 +78,7 @@ $ git checkout -b my-branch -t upstream/master

Verify there are no lint errors
```text
$ yarn lint
$ npm run lint
```

Add and Commit your files
Expand Down

0 comments on commit 5a83e07

Please sign in to comment.