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.
- Install in your computer the software listed the prerequisites section.
- Clone the repository into your machine.
- Tweak the provider and options in the
Vagrantfile
. - Run
vagrant up
and wait for the machine to be built. - When the machine is ready, run
vagrant ssh
andcd /vagrant
. - 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.
- Vagrant
- Virtualbox and the extension pack.
If you experience notice that delays on the synchronization of shared folders, a better option is to use SSHF or NFS.
-
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.