fbaham / dngnbox

Vagrant box for Rails with RVM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DNGNbox

a Vagrant box for Rails developers

  • Rails 5.2.2
  • Ruby 2.5.1
  • rvm 1.29.4
  • Nodejs v8.10.0
  • npm 3.5.2
  • PostgreSQL 10.6
  • MySQL 14.14
  • Git 2.17.1
  • Heroku 7.18.9

Installation

First clone this repository in your home folder

cd ~/ && git clone https://github.com/dngnmster/dngnbox

Then in your host machine create the folder '~/code/rails'

mkdir -p ~/code/rails

And in the guest machine type

cd /vagrant && rails new myapp

Config

  • PostgreSQL user: dngnbox
  • MySQL user: dngnbox
  • MySQL password : dngnbox

Add the following code in your .bash_profile file to create shorcuts

# dngnbox vagrant shorcut
function dngnbox() {
    ( cd ~/dngnbox && vagrant $1 )
}

About

Vagrant box for Rails with RVM


Languages

Language:Shell 100.0%