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 updatesudo apt-get install git nodejssudo npm install npm -gsudo npm install --global gulp
sudo npm install --global bowercd /opt
sudo git clone https://github.com/benweet/stackedit.git stackedit
cd stackedi
sudo npm install
sudo bower install --allow-rootexport PORT=80sudo vim /usr/lib/systemd/system/stackedit.servicesudo mkdir -p /usr/lib/systemd/systemstackedit.service fileDescription=Stackedit daemon
[Service]
ExecStart=/usr/bin/nodejs /opt/stackedit/server.js
Restart=always
[Install]
WantedBy=multi-user.target
sudo systemctl enable stackedit.servicesudo systemctl daemon-reload
sudo systemctl start service.servicesudo netstat -tnlup | grep 3000
tcp6 0 0 :::3000 :::* LISTEN 12413/nodejsIf 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).