Skip to content
Nikolay Rys edited this page Aug 4, 2018 · 21 revisions

Node management

Add ssh agent ~/.zshrc first

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

Build

npm install
npm run-script build
bundle install

Startup

bundle exec pry -I . -r server.rb # Console
bundle exec puma                  # Backend
npm run-script start              # Frontend

Memory leak provisionary

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