Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Rails applications are usually running in three different environments, development, testing, and production. Here we explain how to set up a development and a production environment. We are using a Linux system. To use the same setup as we do, you can set up a Virtual Machine with a Linux system: Installing Ubuntu development environment in Virtual Box and then set up the development environment for the rails application in the Virtual Machine: Configuring an ubuntu development machine. The configuration includes downloading and installing the code of this repository: How to download the code.
After becoming more comfortable with the system, you may have some ideas how to Improve the code. You can then fork the code and develop in your own branch. Please consider integrating the changes of the default branch into your fork and also to integrate your code into the default branch! After having done changes and having tested the changes thoroughly, you will want to roll out your code to production, which includes the set up of a staging system.
We try out new code in a staging environment first, for which we copy the database of the productive system into a second production environment called "staging", and try out this environment first, before updating the productive environment itself https://github.com/befdata/befdata/blob/master/ext/copy-production-state-to-staging.sh.
Befdata is registered with https://codeclimate.com/github/befdata/befdata/. This is an excellent way of meditating on code quality.
How to use new relic with a BEFdata platform.