Development Notes - earthcubeprojects-chords/chords GitHub Wiki
To start the server in development mode:
cd chords_portal
bundle exec passenger start --port 3000 -e development
To start a production system, it may be something like this, where the database password and a secret key are supplied in the command line (this has not been verified; there may be errors):
SERVE_STATIC_FILES=1 CHORDS_DEMO_DATABASE_PASSWORD=xxxxxxxx SECRET_KEY_BASE=bf92f3fd3c0b72a8b601758b46c368d861cfdd8ca7052c8c06404fc1fba501ba0ef61b954530364987873026c9a078185cc5fb23ab29e85fd01eb28fb0111351 bundle exec passenger start --port 3000 -e production
ssh -i ~/.ssh/<ssh key>.pem ec2-user@<portal>.chordsrt.com