Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to 14.1.1 #1

Merged
merged 137 commits into from
Apr 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
137 commits
Select commit Hold shift + click to select a range
b078394
* Bump version to 14.1.1
sulkaharo Jan 7, 2021
df6d9aa
Re-enable partial report test
sulkaharo Jan 7, 2021
914ba78
Security improvement batch (#6622)
sulkaharo Jan 7, 2021
cfdbaa8
APIv3: wrapping all results in JSON (#6703)
PetrOndrusek Jan 7, 2021
1351d35
* Improved internal API for injecting values into localization keys
sulkaharo Jan 8, 2021
22c0071
Don't run docker push on forks (#6718)
StephenBrown2 Jan 9, 2021
44c544a
Support pump status upload display override (#6698)
sulkaharo Jan 12, 2021
c0b96a7
Fix admin localization
sulkaharo Jan 14, 2021
647ed20
Clean statics & bundle more (#6745)
sulkaharo Jan 17, 2021
3ee90d6
feat: disable pump battery alarms at night option (#5359)
jpcunningh Jan 17, 2021
ccd591d
Add eslint security plugin (#5450)
jakobsandberg Jan 17, 2021
f6f7e18
Allow api3 behind reverse proxy (#5631)
MilosKozak Jan 17, 2021
1487269
Move to package-lock, as per #5735
sulkaharo Jan 17, 2021
175e21c
Merge branch 'master' into dev
sulkaharo Jan 17, 2021
8500a1b
New Crowdin updates (#6713)
sulkaharo Jan 17, 2021
5aa98ee
Implemented #6720 - Added es_ES template for Alexa (#6779)
inventor96 Jan 21, 2021
85aea0f
Added sensor code transmitter ID fields (#6780)
inventor96 Jan 26, 2021
d51a674
#6701 Save report preferences (#6761)
mg80 Jan 26, 2021
c1dce74
New Crowdin updates (#6769)
sulkaharo Jan 26, 2021
1372d0c
Catch error from websocket device status dedupe (#6777)
sulkaharo Jan 26, 2021
034eea9
Changes the bundling so the site works on old Safari versions (#6800)
sulkaharo Jan 26, 2021
c91ec78
Round insulin value in treatment tooltip (#6776)
bassettb Jan 26, 2021
cc873d8
Typo correction for translation (#6805)
inventor96 Jan 29, 2021
b188a2a
#6701 Report storage tests (#6814)
mg80 Jan 31, 2021
31e2010
Update mongo-storage.js (#6811)
philipgo Feb 1, 2021
04ca7b2
Unit test teardown improvements (#6821)
sulkaharo Feb 1, 2021
6587293
New Crowdin updates (#6804)
sulkaharo Feb 1, 2021
84ac8f7
replace deprecated bodyParser ctor (#6819)
bassettb Feb 1, 2021
d762694
Bolus settings (#6834)
sulkaharo Feb 2, 2021
6643eb9
Added a specific rendering for BG Check events on the Day to Day repo…
yodax Feb 2, 2021
3ab718c
New Crowdin updates (#6833)
sulkaharo Feb 2, 2021
d7e011d
Refactoring organisation, bundling and security improvements (#6765)
sulkaharo Feb 2, 2021
b3ccaf3
Bump version to 14.2.0
sulkaharo Feb 2, 2021
1c5a7e6
Fix Procfile, Dockerfile
sulkaharo Feb 2, 2021
2d6585d
Revert to old token hash generation method
sulkaharo Feb 3, 2021
f314707
Fix admin message localization, timer presentation
sulkaharo Feb 4, 2021
c65916c
* Fix #6843
sulkaharo Feb 4, 2021
5bc694d
Add unit test for socket.io connect (#6845)
sulkaharo Feb 4, 2021
8ac5c5a
* Fix hard to understand loopalyzer localization key
sulkaharo Feb 5, 2021
36dcf42
Change authentication dialog button label to be more descriptive
sulkaharo Feb 6, 2021
3230e59
Remove duplicate key
sulkaharo Feb 6, 2021
5bf4d51
* Better unit test for admin notifications.
sulkaharo Feb 6, 2021
157eddf
* Add Slovenian and fix Slovakian language code
sulkaharo Feb 6, 2021
bc188d9
* Disabling tests that interfere with other tests
sulkaharo Feb 6, 2021
1c34952
Update webpack to v5 (#6844)
jpcunningh Feb 7, 2021
ba8286f
New Crowdin updates (#6837)
sulkaharo Feb 7, 2021
4a9f492
Fix issue reported by CodeQL
sulkaharo Feb 8, 2021
ed4a9cb
Removes an undocumented feature that has a javascript injection vulne…
sulkaharo Feb 8, 2021
4cfe045
Fix bug with previous removal
sulkaharo Feb 8, 2021
3103af7
Reduce the amount of false positives reported
sulkaharo Feb 8, 2021
6a04452
Cgm delta fix (#6848)
sulkaharo Feb 8, 2021
4d4b7b8
Fix form parsing
sulkaharo Feb 8, 2021
ebb5814
Fix json decoding for some api endpoints
sulkaharo Feb 9, 2021
0653c1e
Remove broken header definition
sulkaharo Feb 9, 2021
b128002
Fix Brazilian Portuguese language code
sulkaharo Feb 9, 2021
271c7ad
Use password entropy analysis for determining password strength
sulkaharo Feb 10, 2021
a9ec65a
Api3 remove Date header (#6855)
PetrOndrusek Feb 10, 2021
83d7fb2
New Crowdin updates (#6849)
sulkaharo Feb 10, 2021
c24d0f9
Notify users if they're reusing the API_SECRET for Mongo password
sulkaharo Feb 11, 2021
9d2f9d4
Fix version number generation
sulkaharo Feb 11, 2021
3cd149f
New Crowdin updates (#6858)
sulkaharo Feb 14, 2021
3d3a8ff
* Only run CodeQL in NS repo (#6873)
sulkaharo Feb 15, 2021
37c7bf8
New translations en.json (Romanian) (#6869)
sulkaharo Feb 15, 2021
f9c5a7c
New Crowdin updates (#6874)
sulkaharo Feb 16, 2021
5936954
Merge pull request #6836 from nightscout/dev
sulkaharo Feb 16, 2021
9890770
* Bump version to 14.2.1
sulkaharo Feb 16, 2021
d42ef4b
New translations en.json (Norwegian Bokmal)
sulkaharo Feb 16, 2021
02aabba
New translations en.json (Norwegian Bokmal)
sulkaharo Feb 16, 2021
f086d36
Merge pull request #6878 from nightscout/crowdin_incoming
sulkaharo Feb 17, 2021
cbfae75
Merge pull request #6877 from nightscout/dev
sulkaharo Feb 17, 2021
067ebee
New translations en.json (Greek)
sulkaharo Feb 17, 2021
c06cf21
New translations en.json (Portuguese, Brazilian)
sulkaharo Feb 18, 2021
2f0f8ab
New translations en.json (Portuguese, Brazilian)
sulkaharo Feb 18, 2021
3200af6
* Bump dev to 14.2.2
sulkaharo Feb 18, 2021
d73de56
Fix adminnotifies test
sulkaharo Feb 18, 2021
22f4336
re-install server.js at root
bewest Feb 18, 2021
be183f5
include standard header for server.js at root.
bewest Feb 18, 2021
a42408b
task: clean repo root
bewest Feb 18, 2021
3bb4f6b
move script for repo maintenance aside
bewest Feb 18, 2021
5ae162c
task: clean project root
bewest Feb 18, 2021
5953f08
remove empty file from project root
bewest Feb 18, 2021
3149bf8
task: clean project root
bewest Feb 18, 2021
52cca32
task: tidy project root
bewest Feb 18, 2021
aa4dca7
task: tidy project root: webpack
bewest Feb 18, 2021
24dfa43
task: tidy example environment template
bewest Feb 18, 2021
f45e7b8
task: tidy ci test env away from project root
bewest Feb 18, 2021
8adda71
Merge pull request #6896 from nightscout/wip/bewest/dev
bewest Feb 18, 2021
8e553ea
New translations en.json (Hungarian)
sulkaharo Feb 18, 2021
37ca721
New translations en.json (Hungarian)
sulkaharo Feb 18, 2021
8f2d9cd
New translations en.json (Hungarian)
sulkaharo Feb 19, 2021
c340d7b
New translations en.json (Hungarian)
sulkaharo Feb 19, 2021
ad3fc3c
* Fix running the site in dev mode
sulkaharo Feb 19, 2021
fd26c77
New translations en.json (Hebrew)
sulkaharo Feb 19, 2021
79dbe7f
New translations en.json (Japanese)
sulkaharo Feb 19, 2021
6a60440
New translations en.json (Portuguese)
sulkaharo Feb 19, 2021
ebf64e9
New translations en.json (Arabic)
sulkaharo Feb 19, 2021
b6fea42
New translations en.json (Hindi)
sulkaharo Feb 19, 2021
7028d3a
New translations en.json (Croatian)
sulkaharo Feb 19, 2021
be592da
New translations en.json (Portuguese, Brazilian)
sulkaharo Feb 19, 2021
02034de
New translations en.json (Chinese Traditional)
sulkaharo Feb 19, 2021
b9fc189
New translations en.json (Chinese Simplified)
sulkaharo Feb 19, 2021
1991c2c
New translations en.json (Turkish)
sulkaharo Feb 19, 2021
0c9cacb
New translations en.json (Slovenian)
sulkaharo Feb 19, 2021
9b921c3
New translations en.json (Polish)
sulkaharo Feb 19, 2021
c51ce39
New translations en.json (Dutch)
sulkaharo Feb 19, 2021
941870e
New translations en.json (Korean)
sulkaharo Feb 19, 2021
5b0a87c
New translations en.json (Italian)
sulkaharo Feb 19, 2021
4f7ec46
New translations en.json (Norwegian Bokmal)
sulkaharo Feb 19, 2021
84ee8f2
New translations en.json (Hungarian)
sulkaharo Feb 19, 2021
8acc5e5
New translations en.json (Finnish)
sulkaharo Feb 19, 2021
dc13d2d
New translations en.json (German)
sulkaharo Feb 19, 2021
850a9b4
New translations en.json (Danish)
sulkaharo Feb 19, 2021
6722805
New translations en.json (Czech)
sulkaharo Feb 19, 2021
93c4841
New translations en.json (Bulgarian)
sulkaharo Feb 19, 2021
ba6c17c
New translations en.json (Spanish)
sulkaharo Feb 19, 2021
d029726
New translations en.json (French)
sulkaharo Feb 19, 2021
46c3a83
New translations en.json (Romanian)
sulkaharo Feb 19, 2021
2efb59b
New translations en.json (Russian)
sulkaharo Feb 19, 2021
d07cd16
New translations en.json (Swedish)
sulkaharo Feb 19, 2021
b27c8c0
New translations en.json (Greek)
sulkaharo Feb 19, 2021
f4c4f29
New translations en.json (Slovak)
sulkaharo Feb 19, 2021
f8bd9fd
Update source file en.json
sulkaharo Feb 19, 2021
98dd02a
New translations en.json (Portuguese)
sulkaharo Feb 19, 2021
47213e2
New translations en.json (Dutch)
sulkaharo Feb 19, 2021
82716d5
New translations en.json (Norwegian Bokmal)
sulkaharo Feb 19, 2021
18eced7
New translations en.json (Finnish)
sulkaharo Feb 19, 2021
c036829
New translations en.json (German)
sulkaharo Feb 19, 2021
ea85560
New translations en.json (Danish)
sulkaharo Feb 19, 2021
1223e6d
New translations en.json (Czech)
sulkaharo Feb 19, 2021
253433d
New translations en.json (Spanish)
sulkaharo Feb 19, 2021
3a6f5f2
New translations en.json (Swedish)
sulkaharo Feb 19, 2021
6d4982e
New translations en.json (Hungarian)
sulkaharo Feb 19, 2021
ddd11f8
Merge pull request #6889 from nightscout/crowdin_incoming
sulkaharo Feb 20, 2021
d263a04
New translations en.json (Hungarian) (#6907)
sulkaharo Feb 20, 2021
50b2192
Merge branch 'master' into dev
sulkaharo Feb 20, 2021
8516fe9
New translations en.json (Hungarian) (#6908)
sulkaharo Feb 22, 2021
46418c7
Merge pull request #6905 from nightscout/dev
sulkaharo Feb 22, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .deployment
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[config]
command = bash deploy.sh
command = bash bin/azure-deploy.sh
44 changes: 28 additions & 16 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,23 +1,35 @@
module.exports = {
"plugins": [ ],
"extends": [
"eslint:recommended"
'plugins': [
'security'
],
"parser": "babel-eslint",
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true,
"mocha": true,
"jquery": true
'extends': [
'eslint:recommended',
'plugin:security/recommended'
],
'parser': 'babel-eslint',
'env': {
'browser': true,
'commonjs': true,
'es6': true,
'node': true,
'mocha': true,
'jquery': true
},
"rules": {
"no-unused-vars": [
"error",
'rules': {
'security/detect-object-injection' : 0,
'no-unused-vars': [
'error',
{
"varsIgnorePattern": "should|expect"
'varsIgnorePattern': 'should|expect'
}
]
}
},
'overrides': [
{
'files': ['lib/client/*.js'],
'rules': {
'security/detect-object-injection': 0
}
}
],
};
1 change: 1 addition & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/dev' && github.repository_owner == 'nightscout'

strategy:
fail-fast: false
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ bundle/bundle.out.js
*.iml
my.env
my.*.env
*.pem

static/bower_components/
.*.sw?
Expand All @@ -28,5 +29,4 @@ npm-debug.log
/cgm-remote-monitor.njsproj
/cgm-remote-monitor.sln
/obj/Debug
/bin
/*.bat
5 changes: 3 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
[coverage-url]: https://coveralls.io/r/nightscout/cgm-remote-monitor?branch=master
[discord-img]: https://img.shields.io/discord/629952586895851530?label=discord%20chat
[discord-url]: https://discord.gg/rTKhrqz
[example-env-template]: docs/example-template.env

## Translations

Expand All @@ -49,15 +50,15 @@ Nightscout is a Node.js application. The basic installation of the software for
dependency installation has to be done using a non-root user - _do not use root_ for development and hosting
the software!
3. Get a Mongo database by either installing Mongo locally, or get a free cloud account from mLab or MongoDB Atlas.
4. Configure Nightscout by copying `my.env.template` to `my.env` and run it - see the next chapter in the instructions
4. Configure Nightscout by copying [`docs/example-template.env`][example-env-template] to `my.env` and run it - see the next chapter in the instructions

## Develop on `dev`

We develop on the `dev` branch. All new pull requests should be targeted to `dev`. The `master` branch is only used for distributing the latest version of the tested sources.

You can get the `dev` branch checked out using `git checkout dev`.

Once checked out, install the dependencies using `npm install`, then copy the included `my.env.template`file to `my.env` and edit the file to include your settings (like the Mongo URL). Leave the `NODE_ENV=development` line intact. Once set, run the site using `npm run dev`. This will start Nightscout in the development mode, with different code packaging rules and automatic restarting of the server using nodemon, when you save changed files on disk. The client also hot-reloads new code in, but it's recommended to reload the website after changes due to the way the plugin sandbox works.
Once checked out, install the dependencies using `npm install`, then copy the included [`docs/example-template.env`][example-env-template] to `my.env` file to `my.env` and edit the file to include your settings (like the Mongo URL). Leave the `NODE_ENV=development` line intact. Once set, run the site using `npm run dev`. This will start Nightscout in the development mode, with different code packaging rules and automatic restarting of the server using nodemon, when you save changed files on disk. The client also hot-reloads new code in, but it's recommended to reload the website after changes due to the way the plugin sandbox works.

Note the template sets `INSECURE_USE_HTTP` to `true` to enable the site to work over HTTP in local development.

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ RUN npm install && \

EXPOSE 1337

CMD ["node", "server.js"]
CMD ["node", "lib/server/server.js"]
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web: node server.js
web: node lib/server/server.js
25 changes: 18 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md)
[discord-url]: https://discord.gg/rTKhrqz
[heroku-img]: https://www.herokucdn.com/deploy/button.png
[heroku-url]: https://heroku.com/deploy?template=https://github.com/nightscout/cgm-remote-monitor
[update-img]: update.png
[update-img]: docs/update.png
[update-fork]: http://nightscout.github.io/pages/update-fork/
[original]: https://github.com/rnpenguin/cgm-remote-monitor

Expand Down Expand Up @@ -104,6 +104,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md)
- [`bage` (Battery Age)](#bage-battery-age)
- [`treatmentnotify` (Treatment Notifications)](#treatmentnotify-treatment-notifications)
- [`basal` (Basal Profile)](#basal-basal-profile)
- [`bolus` (Bolus Rendering)](#bolus-bolus-rendering)
- [`bridge` (Share2Nightscout bridge)](#bridge-share2nightscout-bridge)
- [`mmconnect` (MiniMed Connect bridge)](#mmconnect-minimed-connect-bridge)
- [`pump` (Pump Monitoring)](#pump-pump-monitoring)
Expand Down Expand Up @@ -163,7 +164,7 @@ Some features may not work with devices/browsers on the older end of these requi

## Windows installation software requirements:

- [Node.js](http://nodejs.org/) Latest Node 12 LTS. Node versions that do not have the latest security patches will not work. Use [Install instructions for Node](https://nodejs.org/en/download/package-manager/) or use `setup.sh`)
- [Node.js](http://nodejs.org/) Latest Node 12 LTS. Node versions that do not have the latest security patches will not work. Use [Install instructions for Node](https://nodejs.org/en/download/package-manager/) or use `bin/setup.sh`)
- [MongoDB](https://www.mongodb.com/download-center?jmp=nav#community) 3.x or later. MongoDB 2.4 is only supported for Raspberry Pi.

As a non-root user clone this repo then install dependencies into the root of the project:
Expand Down Expand Up @@ -294,6 +295,8 @@ To learn more about the Nightscout API, visit https://YOUR-SITE.com/api-docs/ or
### Predefined values for your browser settings (optional)

* `TIME_FORMAT` (`12`)- possible values `12` or `24`
* `DAY_START` (`7.0`) - time for start of day (0.0 - 24.0) for features using day time / night time options
* `DAY_END` (`21.0`) - time for end of day (0.0 - 24.0) for features using day time / night time options
* `NIGHT_MODE` (`off`) - possible values `on` or `off`
* `SHOW_RAWBG` (`never`) - possible values `always`, `never` or `noise`
* `CUSTOM_TITLE` (`Nightscout`) - Title for the main view
Expand All @@ -311,7 +314,6 @@ To learn more about the Nightscout API, visit https://YOUR-SITE.com/api-docs/ or
* The `linear` option has equidistant tick marks; the range used is dynamic so that space at the top of chart isn't wasted.
* The `log-dynamic` is similar to the default `log` options, but uses the same dynamic range and the `linear` scale.
* `EDIT_MODE` (`on`) - possible values `on` or `off`. Enables the icon allowing for editing of treatments in the main view.
* `BOLUS_RENDER_OVER` (1) - U value over which the bolus values are rendered on the chart if the 'x U and Over' option is selected. This value can be an integer or a float, e.g. 0.3, 1.5, 2, etc...

### Predefined values for your server settings (optional)
* `INSECURE_USE_HTTP` (`false`) - Redirect unsafe http traffic to https. Possible values `false`, or `true`. Your site redirects to `https` by default. If you don't want that from Nightscout, but want to implement that with a Nginx or Apache proxy, set `INSECURE_USE_HTTP` to `true`. Note: This will allow (unsafe) http traffic to your Nightscout instance and is not recommended.
Expand Down Expand Up @@ -468,12 +470,20 @@ To learn more about the Nightscout API, visit https://YOUR-SITE.com/api-docs/ or
* `BAGE_URGENT` (`360`) - If time since last `Pump Battery Change` matches `BAGE_URGENT` hours, user will be issued a persistent warning of overdue change (default of 360 hours is 15 days).

##### `treatmentnotify` (Treatment Notifications)
Generates notifications when a treatment has been entered and snoozes alarms minutes after a treatment. Default snooze is 10 minutes, and can be set using the `TREATMENTNOTIFY_SNOOZE_MINS` [extended setting](#extended-settings).
Generates notifications when a treatment has been entered and snoozes alarms minutes after a treatment.
* `TREATMENTNOTIFY_SNOOZE_MINS` (`10`) - Number of minutes to snooze notifications after a treatment is entered
* `TREATMENTNOTIFY_INCLUDE_BOLUSES_OVER` (`0`) - U value over which the bolus will trigger a notification and snooze alarms

##### `basal` (Basal Profile)
Adds the Basal pill visualization to display the basal rate for the current time. Also enables the `bwp` plugin to calculate correction temp basal suggestions. Uses the `basal` field from the [treatment profile](#treatment-profile). Also uses the extended setting:
* `BASAL_RENDER` (`none`) - Possible values are `none`, `default`, or `icicle` (inverted)

##### `bolus` (Bolus Rendering)
Settings to configure Bolus rendering
* `BOLUS_RENDER_OVER` (`0`) - U value over which the bolus labels use the format defined in `BOLUS_RENDER_FORMAT`. This value can be an integer or a float, e.g. 0.3, 1.5, 2, etc.
* `BOLUS_RENDER_FORMAT` (`default`) - Possible values are `hidden`, `default` (with leading zero and U), `concise` (with U, without leading zero), and `minimal` (without leading zero and U).
* `BOLUS_RENDER_FORMAT_SMALL` (`default`) - Possible values are `hidden`, `default` (with leading zero and U), `concise` (with U, without leading zero), and `minimal` (without leading zero and U).

##### `bridge` (Share2Nightscout bridge)
Glucose reading directly from the Dexcom Share service, uses these extended settings:
* `BRIDGE_USER_NAME` - Your username for the Share service.
Expand Down Expand Up @@ -511,6 +521,7 @@ To learn more about the Nightscout API, visit https://YOUR-SITE.com/api-docs/ or
* `PUMP_URGENT_BATT_P` (`20`) - The % of the pump battery remaining, an urgent alarm will be triggered when dropping below this threshold.
* `PUMP_WARN_BATT_V` (`1.35`) - The voltage (if percent isn't available) of the pump battery, a warning will be triggered when dropping below this threshold.
* `PUMP_URGENT_BATT_V` (`1.30`) - The voltage (if percent isn't available) of the pump battery, an urgent alarm will be triggered when dropping below this threshold.
* `PUMP_WARN_BATT_QUIET_NIGHT` (`false`) - Do not generate battery alarms at night.

##### `openaps` (OpenAPS)
Integrated OpenAPS loop monitoring, uses these extended settings:
Expand Down Expand Up @@ -659,7 +670,7 @@ For remote overrides, the following extended settings must be configured:
* `target_high` - Upper target for correction boluses.
* `target_low` - Lower target for correction boluses.

Some example profiles are [here](example-profiles.md).
Some example profiles are [here](docs/plugins/example-profiles.md).

## Setting environment variables
Easy to emulate on the commandline:
Expand All @@ -679,13 +690,13 @@ Your hosting provider probably has a way to set these through their GUI.
### Vagrant install

Optionally, use [Vagrant](https://www.vagrantup.com/) with the
included `Vagrantfile` and `setup.sh` to install OS and node packages to
included `Vagrantfile` and `bin/setup.sh` to install OS and node packages to
a virtual machine.

```bash
host$ vagrant up
host$ vagrant ssh
vm$ setup.sh
vm$ ./bin/setup.sh
```

The setup script will install OS packages then run `npm install`.
Expand Down
Loading