StackEdit GitHub Page : https://github.com/benweet/stackedit
Debian 8 (12/05/2016)
None.
StackEdit GitHub Page : https://github.com/benweet/stackedit
Debian 8 (12/05/2016)
None.
sudo apt-get update
sudo apt-get install git nodejs
sudo npm install npm -g
sudo npm install --global gulp
sudo npm install --global bower
cd /opt
sudo git clone https://github.com/benweet/stackedit.git stackedit
cd stackedi
sudo npm install
sudo bower install --allow-root
export PORT=80
sudo vim /usr/lib/systemd/system/stackedit.service
sudo mkdir -p /usr/lib/systemd/system
stackedit.service
fileDescription=Stackedit daemon
[Service]
ExecStart=/usr/bin/nodejs /opt/stackedit/server.js
Restart=always
[Install]
WantedBy=multi-user.target
sudo systemctl enable stackedit.service
sudo systemctl daemon-reload
sudo systemctl start service.service
sudo netstat -tnlup | grep 3000
tcp6 0 0 :::3000 :::* LISTEN 12413/nodejs
If you need to modify some StackEdit default behaviour, you may need to edit /opt/stackedit/public/res/constants.js
. For example to change the Github OAuth url (default is localhost).