Skip to content

arBmind/redmine_hourglass_dev

 
 

Repository files navigation

Redmine Hourglass Development setup

A development setup based on Docker

Initial setup

For the first run docker-compose itself is not enough. Rails won't start correctly until some steps are taken care of.

docker-compose run --rm app bash

Run:

rake db:migrate
rake redmine:plugins:migrate
rake redmine:plugins
exit

Notes:

  • Starting rails would not expose the port
  • Start regularly and proceed with the web setup

Run Redmine with hourglass

docker-compose up

Debugging Rails process

Rubymine works great for that. You can also use VsCode but I have not tried it.

Database Backups

Create:

docker run --rm --volume redmine_db:/dbdata --volume $(pwd):/backup ubuntu tar cvf /backup/redmine_db.tgz /dbdata

Restore:

docker run --rm --volume redmine_db:/dbdata --volume $(pwd):/backup ubuntu tar xvf /backup/redmine_db.tgz -C /dbdata --strip 1

About

Mirror of redmine code source - Official SVN repository is at https://svn.redmine.org/redmine - contact: @jbbarth or jeanbaptiste.barth (at) gmail (dot) com

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 61.8%
  • HTML 33.5%
  • JavaScript 2.9%
  • CSS 1.5%
  • Other 0.3%