This repository has been archived by the owner on Mar 29, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Rogue Rails Starter App | ||
|
||
This app is the initial project you should start with at the Rogue Rails workshop. | ||
|
||
## Setup | ||
|
||
First ensure you have [Vagrant](http://www.vagrantup.com) and [VirtualBox](https://www.virtualbox.org/wiki/Downloads) installed. | ||
|
||
You should have already received the `roguerails.box` file. If you do not have it, ask one of the team mentors. Then add the box if you haven't already. | ||
|
||
``` | ||
vagrant box add roguerails-box path/to/roguerails.box | ||
``` | ||
|
||
Next clone this repository and run this command inside. | ||
|
||
``` | ||
vagrant up | ||
``` | ||
|
||
This will start up the virtual environment. If you receive an error, you may want to try it again with `vagrant halt` and `vagrant up`. | ||
|
||
Then you can SSH into the virtual box: | ||
|
||
``` | ||
vagrant ssh | ||
``` | ||
|
||
This will drop you into the `/vagrant` directory which is a shared folder allowing you to run the application. Run the following commands in the box to finish setting up the project. | ||
|
||
``` | ||
bundle install | ||
cp config/database.example.yml config/database.yml | ||
rake db:create | ||
rails s | ||
``` | ||
|
||
From here you should be able to access the application at http://localhost:3000/ |
Empty file.