Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/dreikanter/vagrant-rails

Vagrant configuration for Rails development environment
https://github.com/dreikanter/vagrant-rails

provisioning rails vagrant

Last synced: 21 days ago
JSON representation

Vagrant configuration for Rails development environment

Awesome Lists containing this project

README

        

# Vagrant configuration for Rails development environment

Will install:

- Ubuntu Server (19.04 LTS)
- Ruby (via [ruby-install](https://github.com/postmodern/ruby-install))
- PostgreSQL
- Redis
- ElasticSearch
- NodeJS
- Yarn

Set up:

``` bash
brew cask install virtualbox vagrant
vagrant up
```

Rails app setup after first log in (assuming Vagrant file is in you project root):

``` bash
cd /app
bundle install
yarn install
bundle exec rails db:drop db:create db:migrate db:seed --trace
```

Running Rails app server:

``` bash
rails s
```

Running [webpack-dev-server](https://github.com/webpack/webpack-dev-server):

``` bash
bin/webpack-dev-server
```