Open jlyon opened 7 years ago
@gregelin I added the swapfile and made one more change to the wiki (and the comment above): We had upgraded to node v6 to make the automatic Let's Encrypt ssl cert work. The app is now running and the dashboard is working on http://drupal.plugin.govready.com/admin/reports/govready.
Docs for setting up memory swapfile (not added to the wiki): https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04
@jlyon Thanks for this. I am testing. Also testing installing on RedHat.
@jlyon Can we better document relationship between root
and non-root user during installation of packages, nvm, npm, GovReady-CMS-API and running forever?
I'm not clear if npm installed as root has to be run as root and so forth.
@gregelin Here are notes. I also added these to https://github.com/GovReady/GovReady-CMS-API/wiki/Running-the-GovReady-API-locally-or-on-an-intranet.
When I logged into the server, nvm appeared to be installed, so I was able to install node v5.0 and forever with the lines from https://github.com/GovReady/GovReady-CMS-API/wiki/Running-the-GovReady-API-locally-or-on-an-intranet/:
Mongo:
Installing the app
npm install
now (perhaps because/opt/threatstack/bin/node
is now running in then background?). I need to create a swap file. I'll try to dig into this tonight/this weekend.Thanks, Jeff