Skip to content

Commit

Permalink
Clean up generated README
Browse files Browse the repository at this point in the history
Reference thoughtbot/dotfiles rather than try to keep its
documentation up to date here.
  • Loading branch information
Dan Croak committed Aug 7, 2012
1 parent 61c3950 commit 7d8d89b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 73 deletions.
6 changes: 0 additions & 6 deletions lib/suspenders/app_builder.rb
Expand Up @@ -167,12 +167,6 @@ def create_heroku_apps
run "#{path_addition} heroku create #{app_name}-staging --remote=staging"
end

def document_heroku
heroku_readme_path = find_in_source_paths 'HEROKU_README.md'
documentation = File.open(heroku_readme_path).read
inject_into_file('README.md', "#{documentation}\n", :before => 'Most importantly')
end

def create_github_repo(repo_name)
path_addition = override_path_for_tests
run "#{path_addition} hub create #{repo_name}"
Expand Down
1 change: 0 additions & 1 deletion lib/suspenders/generators/app_generator.rb
Expand Up @@ -143,7 +143,6 @@ def create_heroku_apps
if options[:heroku]
say 'Creating Heroku apps'
build :create_heroku_apps
build :document_heroku
end
end

Expand Down
66 changes: 0 additions & 66 deletions templates/HEROKU_README.md

This file was deleted.

4 changes: 4 additions & 0 deletions templates/README.md.erb
Expand Up @@ -173,6 +173,10 @@ Watch logs and metrics dashboards. If the feature is working, merge into master.
git merge production --ff-only
git push origin master

Use scripts from [thoughtbot/dotfiles](http://github.com/thoughtbot/dotfiles)
to quickly access the Heroku console, backup the production database, and
transfer production data to staging.

Formatting
----------

Expand Down

0 comments on commit 7d8d89b

Please sign in to comment.