Auto-generated skeleton of a Ruby on Rails app
Create a new project using the rails
command. If you have that installed either with gem
(global) or bundler
(project).
$ rails new blog
For resources, see my Rails guide.
Install Ruby and Bundler - see instructions in gist.
$ git clone [email protected]:MichaelCurrin/rails-quickstart.git
$ cd rails-quickstart
$ bundle config set --local path vendor/bundle
$ bundle install
Note: I don't know what all the setup steps are - the new
command failed and I had to remove the cache and then run webpack again - see issue. The Rails
Run rake COMMAND
rather than bundle exec rails COMMAND
.
rake --tasks
Example tasks:
$ rake webpacker:install
$ rake db:migrate
A few steps to get started. The Rails docs will be more comprehensive.
$ rake server
Open in the browser:
$ rake test
Released under MIT.
This repo is mostly based on the quickstart app that comes with Rails. I've customizes with a README.md
file.