darkrubyist 18665e289b Ask user for application name and set it global (#35) | %!s(int64=6) %!d(string=hai) anos | |
---|---|---|
app | %!s(int64=6) %!d(string=hai) anos | |
config | %!s(int64=7) %!d(string=hai) anos | |
.gitignore | %!s(int64=7) %!d(string=hai) anos | |
LICENSE | %!s(int64=6) %!d(string=hai) anos | |
Procfile | %!s(int64=7) %!d(string=hai) anos | |
README.md | %!s(int64=6) %!d(string=hai) anos | |
template.rb | %!s(int64=6) %!d(string=hai) anos |
It's like Laravel Spark, for Rails. All your Rails apps should start off with a bunch of great defaults.
Jumpstart is a Rails template, so you pass it in as an option when creating a new app.
rails new myapp -d postgresql -m https://raw.githubusercontent.com/excid3/jumpstart/master/template.rb
Or if you have downloaded this repo, you can reference template.rb locally:
rails new myapp -d postgresql -m template.rb
rails db:drop
spring stop
cd ..
rm -rf myapp