Rails Tips - earthcubeprojects-chords/chords GitHub Wiki
- Starting the CHORDS server. Environment (-e) can be development or production:
SERVE_STATIC_FILES=1 CHORDS_DEMO_DATABASE_PASSWORD=database_pw SECRET_KEY_BASE=long_hex_key bundle exec passenger start --port 3000 -e production
- Accessing the database directly from MySQL. Database name can be chords_demo_production or chords_demo_production:
mysql --password=database_pw --user=chords_demo_user chords_demo_development