Skip to content

clumma/bloomsite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bloomcode home page

Currently served by Node/Express from a DigitalOcean Ubuntu droplet.

PM2

PM2 is installed globally on the server, and should restart our app automatically if anything crashes.

Colors

These were taken from our company mascot, the beautiful Forget-me-not

gray: #655d5b
purple: #692776
blue: #007fe6

Initial setup

Unix demands the blood of your first-born. To appease, use the following incantations

ssh [email protected]
adduser bcadmin
gpasswd -a bcadmin sudo

ssh [email protected]
sudo apt-get --purge remove node
sudo apt-get --purge remove nodejs
sudo apt-get --purge remove nodejs-legacy
sudo apt-get install curl
sudo apt-get install git
sudo apt-get install npm
sudo npm cache clean -f
sudo npm install -g n
sudo n latest
sudo npm install pm2 -g
sudo setcap cap_net_bind_service=+ep /usr/local/bin/node

cd /home/bcadmin/bloomsite
sudo npm install

pm2 start bloomsite.js
pm2 save
sudo env PATH=$PATH:/usr/local/bin pm2 startup systemd -u bcadmin

About

Company home page

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published