We are using Ubuntu (currently 16.04) for our development environments. Thus all documentaion will be for that environment unless explicitly specified otherwise. Many of the commands may work on MacOS and will likely not work at all on Windows (since Windows is frowned upon as a viable development environment, it is strongly recommended to install Ubuntu for a viable development machnine).
To set up a development environment, follow the Development Environment Setup instructions.
Make a local copy of this Git repo:
mkdir -p ~/Projects/ExampleApp
cd ~/Projects/ExampleApp
git clone git@github.com:K-and-R/rails-5-example.git
cd rails-5-example
git checkout develop
We are presently using Ruby 2.4.3
. This is defined in the .ruby-version
file. We are using rbenv
for managing Ruby version in development environments.
- PostgreSQL
- Redis
Local configuration is defined in config/settings.local.yml
, which is ignored by Git, and any local environment settings are defined there. Start with the example file and make changes accordingly.
git checkout develop
cp config/settings.local.{example.,}yml