hdm icon indicating copy to clipboard operation
hdm copied to clipboard

Prepare for beta release

Open tuxmea opened this issue 4 years ago • 1 comments

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.

  1. Compile JS/CSS:
  • bundle exec rails assets:precompile
  1. Ruby Gems:
  • bundle install --deployment
  1. 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
  1. Rails: bundle exec rails server -e

tuxmea avatar May 10 '21 13:05 tuxmea

2.) its now like this:

bundle config set --local deployment 'true'
bundle install

rwaffen avatar May 17 '21 11:05 rwaffen