hdm
hdm copied to clipboard
Prepare for beta release
The following should not be part of the git repo. This information must be added to a document describing the way how to package HDM.
Rails uses different environments. At the moment we use development. For packaging, we need production environment.
- Compile JS/CSS:
- bundle exec rails assets:precompile
- Ruby Gems:
- bundle install --deployment
- Start check:
- required ruby version?
- bundler installed?
- switch to hdm base dir
- set rails environment
- create database (db:create, db:migrate und db:seed) db:setup
- start webserver
- Rails:
bundle exec rails server -e
2.) its now like this:
bundle config set --local deployment 'true'
bundle install