Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wendreof/boxonrails

Rails Environment (Vagrant): Ubuntu 16.04, RVM (Ruby 2.4.1 & Rails 5.1.3) & MySQL & Docker & Heroku & Redis...
https://github.com/wendreof/boxonrails

docker heroku mysql nodejs rails redis ruby rvm ubuntu1604 vagrant-boxes

Last synced: 25 days ago
JSON representation

Rails Environment (Vagrant): Ubuntu 16.04, RVM (Ruby 2.4.1 & Rails 5.1.3) & MySQL & Docker & Heroku & Redis...

Awesome Lists containing this project

README

        

# Rails Environment with Vagrant

**Requirements**
- [VirtualBox](https://www.virtualbox.org/)
- [Git](http://git-scm.com)
- [Vagrant](http://www.vagrantup.com/)

**Includes**
- RVM 1.29.2
- Ruby 2.4.1 and 2.3.4
- Rails 5.1.3
- MySql 5.7.19
- Redis 4.0.1
- Nodejs 8.4.0
- Git 2.7.4
- Heroku-CLI 6.14.20-737bba7
- Docker 17.06.1-ce

**Step-by-step** (on your bash)

```shel
$ git clone https://github.com/wendreof/box-on-rails
```

```shel
$ cd box-on-rails/
```

```shel
$ vagrant up
```

After this 'vagrant up' command, Vagrant will be responsible for downloading the operating system configuring a virtual machine in VirtualBox and later downloading, installing and configuring all the packages in the 'setup.sh' script. ! The first time really is a bit more time consuming.

```shel
$ vagrant ssh
```

```shel
$ cd /var/www
```

```shel
$ rails new myapp -d mysql
```

Now a web server is available at http://localhost:3000

(The default password for all services is root).

**Basic Usage**

```shel
$ vagrant up
```

```shel
$ vagrant ssh
```

```shel
$ vagrant halt
```

```shel
$ vagrant reload
```