Skip to content

Latest commit

 

History

History
72 lines (50 loc) · 2.4 KB

README.md

File metadata and controls

72 lines (50 loc) · 2.4 KB

Rails-Heroku Development Environment on Vagrant

Configuration files to automatically set up a basic and customizable Vagrant box with the required tools to develop Rails projects oriented to be deployed over the Heroku.

Therefore, the software versions installed try to match those supported on the Heroku platform.

Usage

  1. Install in your computer the software listed the prerequisites section.
  2. Clone the repository into your machine.
  3. Tweak the provider and options in the Vagrantfile.
  4. Run vagrant up and wait for the machine to be built.
  5. When the machine is ready, run vagrant ssh and cd /vagrant.
  6. You may now start a new Rails project with rails new . or adjust the Ruby and gems settings with RVM to match an existent code base.

Prerequisites

If you experience notice that delays on the synchronization of shared folders, a better option is to use SSHF or NFS.

Out of the Box Included Software

  • Ubuntu Xenial: This Linux distribution is closer to the one used on the Heroku-16 stack.

  • Ruby 2.4.x (with RVM): Programming language that supports the Rails framework. The Ruby Version Manager allows to easily use different Ruby versions and gems per project.

  • Rails 5.1.x: And other gems to aid the development of web apps.

  • Yarn and Webpacker: For Rails projects with heavy use of JavaScript.

  • Node.js 6.11.x: Server side JavaScript runtime.

  • Postgres 9.5: Advanced SQL database.

  • Redis 3.0.x: In-memory data structure store.

  • Heroku CLI: Tool for creating and managing Heroku apps from the the command line.

  • ZSH Shell (With Oh-My-Zsh! and Antigen) Tools to improve experience of working with the shell.