Created
January 10, 2014 04:19
-
-
Save stuarthannig/8346939 to your computer and use it in GitHub Desktop.
Nitrous.io & GitHub
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
$ rvm get stable | |
$ rvm requirements | |
$ rvm use 2.0.0@<gemset_name> --create --default | |
ruby-2.0.0-p353 is not installed. | |
To install do: 'rvm install ruby-2.0.0-p353' | |
$ gem install rails | |
$ rails new <project_name> --skip-test-unit | |
$ cd <project_name> | |
Rename README.rdoc to README.md and delete the contents. | |
Rename config/initializers/secret_token.rb to secret_token-example.rb. | |
Rename config/initializers/database.yml to database-example.yml. | |
Recreate secret_token.rb with random token generator. | |
Add ruby version & ruby gemset to the Gemfile. | |
$ bundle update | |
$ bundle install --without production | |
$ rails generate rspec:install | |
$ git config --global user.name "<full name>" | |
$ git config --global user.email "<email address>" | |
$ git init | |
$ git add -A | |
$ git commit -m "Initial commit." | |
$ git remote add origin https://github.com/<username>/<project_name>.git | |
$ git push -u origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment