Skip to content

Commit

Permalink
style: use npm install alias
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed May 1, 2022
1 parent 9ad337e commit f8676ba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Other processes and specifications that are in use in this repository are:

Ensure you have all prerequisites installed (including any optional ones), as noted in the [prerequisites section of the readme file](./README.md#prerequisites).

With those in place, you can fork the repository, clone it, and then run `npm install` to install all dependencies.
With those in place, you can fork the repository, clone it, and then run `npm i` to install all dependencies.
Make a copy of `.env.template` in the root directory and rename it to `.env`, configuring the environment variables in the file as required.

### Development Workflow
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Perform the following steps before deployment:

### Standard Deployment

1. Run `npm install --ignore-scripts --production` to install dependencies
1. Run `npm i --ignore-scripts --production` to install dependencies
2. Run `npm start`

The service should be up and running on the port set in the config. You should see output similar to the following in stdout or in the log file specified using the `LOG_ROTATION_FILENAME` environment variable:
Expand All @@ -86,8 +86,8 @@ This requires [Docker](https://www.docker.com) installed.

If you are unable to deploy this into production using Docker, it is recommended that you use a process manager such as [PM2](https://pm2.keymetrics.io/).

1. Run `npm install --ignore-scripts --production` to install dependencies
2. Run `npm install -g pm2` to install pm2 globally
1. Run `npm i --ignore-scripts --production` to install dependencies
2. Run `npm i -g pm2` to install pm2 globally
3. Launch application with `pm2 start .pm2.config.js`
4. Check the application has been deployed using `pm2 list` or `pm2 monit`

Expand Down

0 comments on commit f8676ba

Please sign in to comment.