-
-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A new user might miss few commands hence added those.
- Loading branch information
Showing
1 changed file
with
26 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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** | ||
|
||
|