Commit 9efdfb9135ca6b4cad17acd4f076b8b9e6a4a89f
1 parent
771f259b
Exists in
master
and in
1 other branch
improving final stage of script/create_project
Showing
1 changed file
with
13 additions
and
1 deletions
Show diff stats
script/create_project
| ... | ... | @@ -53,7 +53,19 @@ Dir.glob("#{project_directory}/**/session_store.rb").each do |file| |
| 53 | 53 | end |
| 54 | 54 | |
| 55 | 55 | run("git commit -a -m 'Initial commit'") |
| 56 | +run("rake db:migrate") | |
| 57 | +run("rake db:test:prepare") | |
| 58 | +run("rake") | |
| 56 | 59 | |
| 57 | 60 | puts |
| 58 | -puts "Now login to github and add a new project named '#{project_name.humanize.titleize}'" | |
| 61 | +puts "If you want email, edit config/initializers/mail.rb" | |
| 62 | +puts "If you want file uploads, edit config/s3.yml" | |
| 63 | +puts | |
| 64 | +puts "When you're ready to deploy, run these commands:" | |
| 65 | +puts | |
| 66 | +puts "heroku create (or heroku create #{project_name})" | |
| 67 | +puts "git push heroku master" | |
| 68 | +puts "heroku rake db:migrate" | |
| 69 | +puts "heroku open" | |
| 70 | + | |
| 59 | 71 | ... | ... |