Skip to content

Commit

Permalink
add git setup
Browse files Browse the repository at this point in the history
  • Loading branch information
damienlethiec committed Feb 7, 2018
1 parent 36553d5 commit 039394d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
7 changes: 7 additions & 0 deletions README.md.tt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# <%= app_name %>

This is a Rails <%= Rails::VERSION::MAJOR %> app.

## Documentation

Use [gitflow](https://github.com/nvie/gitflow)
8 changes: 7 additions & 1 deletion template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,13 @@ def apply_template!
# temporal fix bootsnap bug
comment_lines 'config/boot.rb', /bootsnap/

run('rails db:create db:migrate')
template 'README.md.tt', force: true

run 'rails db:create db:migrate'

git flow: 'init -d'
git add: '.'
git commit: "Initial commit for #{app_name}"
end

def assert_minimum_rails_version
Expand Down

0 comments on commit 039394d

Please sign in to comment.