Skip to content

Latest commit

 

History

History
37 lines (20 loc) · 888 Bytes

README.md

File metadata and controls

37 lines (20 loc) · 888 Bytes

Field Server Panel

Dependencies

Development

Get a small USB stick; format and mount it. This is your backup partition.

Make a source directory either in the project directory at /source (recommended for development, that folder is gitignored) or elsewhere. Put some random files in it.

Grant passwordless sudo access for the ngrok wrapper script, e.g.:

deploy ALL=(ALL) NOPASSWD: /path/to/field-server-panel/scripts/runngrok

Setup config with:

cp config.yml.example config.yml

and edit to replace placeholders.

Run:

ruby app.rb

and visit http://localhost:4567/ to verify it's working.

Production

Similar to above, but with 'real' partitions, set up Passenger or other app server to serve Rack app.

Upgrading

  1. git pull
  2. bundle install