Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/dreikanter/vagrant-rails
- Owner: dreikanter
- Created: 2017-06-24T18:19:04.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-25T20:28:14.000Z (over 5 years ago)
- Last Synced: 2024-10-31T01:42:06.298Z (2 months ago)
- Topics: provisioning, rails, vagrant
- Language: Shell
- Homepage: https://medium.com/@dreikanter/bare-metal-ruby-3f7c8504d370
- Size: 11.7 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
- YarnSet 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
```