Skip to content
Nikolay Rys edited this page Jul 26, 2018 · 21 revisions

Node management

Add ssh agent ~/.zshrc first

ssh webmaster@rys.me
bundle exec cap deploy
  • Webserver management: sudo systemctl <command> <service>
  • services: nginx
  • commands: start/stop/restart/reload

Build and startup

ruby server.rb
bundle exec pry -I . -r server.rb

npm install
npm run-script build # start

Memory leak provisionary

sudo nano /etc/systemd/journald.conf # Storage=none
sudo systemctl restart systemd-journald
Clone this wiki locally