Redmine Hourglass Development setup
A development setup based on Docker
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
rake db:migrate rake redmine:plugins:migrate rake redmine:plugins exit
- Starting rails would not expose the port
- Start regularly and proceed with the web setup
Run Redmine with hourglass
Debugging Rails process
Rubymine works great for that. You can also use VsCode but I have not tried it.
docker run --rm --volume redmine_db:/dbdata --volume $(pwd):/backup ubuntu tar cvf /backup/redmine_db.tgz /dbdata
docker run --rm --volume redmine_db:/dbdata --volume $(pwd):/backup ubuntu tar xvf /backup/redmine_db.tgz -C /dbdata --strip 1