Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 489 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 489 Bytes

LUNCH

Deployment

For deploying LUNCH to the test server, simpy run:

ansible-playbook -i dvalin.tf.fi, --user $YOUR_USERNAME --private-key /some/path/to/$PRIVATEKEY

This requires that you have ansible installed and your public key deployed to the server. The playbook will then:

  1. Install dependencies
  2. Build the site locally with npm run build and rsync dist/ to the server
  3. Create a systemd unit for running the backend and starting it
  4. Configure nginx