Skip to content

Instantly share code, notes, and snippets.

Last active Apr 19, 2021
What would you like to do?
Install StackEdit on Ubuntu 14.04

###Install Node and Bower

  • Set up the NodeSource repo and install Node
  • curl -sL | sudo bash -
  • sudo apt-get install nodejs
  • Install bower: sudo npm install -g bower

Install StackEdit

  • Clone the repo: git clone
  • To use a domain other than 'localhost', edit /public/res/constants.js:
    • constants.BASE_URL = "";
  • Inside stackedit run npm install and bower install

Start and daemonize the Node server

  • Install PM2: sudo npm install pm2 -g
  • Start Stackedit via PM2: pm2 start server.js
  • Set it to run on boot: pm2 startup server where server is the App name shown from the previous command
  • You will be asked to run a command in the console, copy/paste and run it to add the startup scripts


  • Open your browser to http://hostname:3000


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment