Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.

Prepare for beta release #104

Open
tuxmea opened this issue May 10, 2021 · 1 comment
Open

Prepare for beta release #104

tuxmea opened this issue May 10, 2021 · 1 comment

Comments

@tuxmea
Copy link
Contributor

tuxmea commented May 10, 2021

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
@rwaffen
Copy link
Contributor

rwaffen commented May 17, 2021

2.) its now like this:

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants