Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/parsonsmatt/rails-box
Barebones box for Rails development.
https://github.com/parsonsmatt/rails-box
Last synced: 29 days ago
JSON representation
Barebones box for Rails development.
- Host: GitHub
- URL: https://github.com/parsonsmatt/rails-box
- Owner: parsonsmatt
- License: apache-2.0
- Created: 2015-03-31T20:54:45.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-01T17:23:36.000Z (over 9 years ago)
- Last Synced: 2023-02-25T23:51:54.346Z (over 1 year ago)
- Language: Shell
- Size: 127 KB
- Stars: 3
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rails-box
Barebones Vagrant box for Rails development with PostgreSQL
## Usage:
### I already have a Rails app and I want to put it on Vagrant
1. Download the Vagrantfile and the scripts folder
2. Copy into your Rails project
3. `vagrant up` will boot the box.
4. It'll install all the stuff, run your `bundle install`, and setup the database.
5. `vagrant ssh` and `foreman start` will begin the Rails server, listening on `localhost:3000` :)### I want to start a new Rails app
1. Clone the repository
2. Change the folder name to your app's name and delete the .git folder to clear the history
3. `vagrant up` to boot the machine
4. It'll install PostgreSQL, rvm, Ruby, Bundler, Rails and initialize the Rails app.
5. `vagrant ssh` and `foreman start` will begin the Rails server, listening on `localhost:3000` :)