How to prepare the environment for redmine for customization?
I'm using Redmine for our project management and thought of customising it. So, I fired up a Ubuntu vagrant and installed Passenger + Nginx. The app works great like my production except that I had to restart the web server every time I make a code change. I tried everything from ensuring disabling of cache and environment but nothing seem to work. I always had to restart web server.
I'm new to rails development as well. I'm not sure I'm missing anything basic or should I have to tweak anything so code changes are picked immediately by web server? That is, I should modify and reload the browser to see changes without restarting nginx.
I have also posted the question in Stack Overflow (https://stackoverflow.com/questions/48603408/redmine-rails-app-code-changes-not-reflected-had-to-restart-nginx-every-time).
RE: How to prepare the environment for redmine for customization? - Added by Bernhard Rohloff over 3 years ago
If you run Redmine in the development environment, you don't have to restart Redmine every time you make a change.
I also prefer to run the application locally with Webrick. It's faster to restart and puts the Redmine log right on your console.
This is the command to do this:
rails server webrick -e development
Make sure you've set up your development database in `config/databases.yml`.