Skip to content

Commit

Permalink
Updated with detailed build command
Browse files Browse the repository at this point in the history
A new user might miss few commands hence added those.
  • Loading branch information
shridutta authored Dec 23, 2019
1 parent 8c85b9b commit 87840ce
Showing 1 changed file with 26 additions and 8 deletions.
34 changes: 26 additions & 8 deletions docs/using-source-code.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,35 @@
```

- This script will add token with email [email protected] and my domain to http://localhost

- **Start application in the background**
```shell
pm2 start process.json
```

- **Start application in the background**

- Install pm2 [if not already installed]

```shell
npm install -g pm2
```

- Run application in the background
```shell
pm2 start process.json
```

- Process will be offline - Make it online
```shell
pm2 start 0
```

- or you can start app in your terminal (you will see debug information, that is useful for debug):

```shell
npm start
```
- **Build project**
```shell
npm run build
```
- start FrontEnd Site
```shell
npm start
```

- At this setup, we have api running on port 3001 and available at **http://localhost:3001**

Expand Down

0 comments on commit 87840ce

Please sign in to comment.