Development

Jumpstart Pro provides some useful configuration for making development easier.

Processes

As usual, you'll need to run several processes in development.

  • rails server - duh. 😜
  • bin/webpack-dev-server - optional, but provides automatic code reloading when editing Javascript
  • sidekiq - or whatever background worker process you have configured

You'll also need to make sure PostgreSQL and Redis servers are installed and running.

Foreman

To make running multiple processes easier, you can install foreman and use the supplied Procfile.dev for managing them. Foreman should be installed globally and not in your Gemfile to prevent issues with dependencies.

gem install foreman

You can then run your application anytime with:

foreman start

Docker

While not required whatsoever, if you'd like to use Docker, we provide a Dockerfile and docker-compose.yml example configuration you can use as a starting point.