Skip to content

Commit

Permalink
* stuff added
Browse files Browse the repository at this point in the history
  • Loading branch information
Ace Suares committed Oct 19, 2011
1 parent 916c86a commit bdf3372
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions bin/inline_forms
Expand Up @@ -118,6 +118,14 @@ else
username: #{app_name}
password: #{app_name}
"
production_stanza = "
production:
adapter: mysql2
database: #{app_name}_production
username: #{app_name}
password: #{app_name}444
"
File.open( 'config/database.yml', 'w') {|f| f.write(development_stanza) }

Expand Down Expand Up @@ -171,5 +179,14 @@ header_src = "
FileUtils.mkdir_p 'app/views/inline_forms'
File.open( 'app/views/inline_forms/_header.html.erb', 'w') {|f| f.write(header_src) }

puts "Initializing git...\n"
system('git init')
system('echo >> .gitignore')
system('echo "nbproject" >> .gitignore')
system('echo "public/uploads" >> .gitignore')
system('echo >> .gitignore')
system('git add .')
system('git add -a -m " * Initial"')

puts "\n\nDone! Now make your tables.\n\n\n"

2 changes: 1 addition & 1 deletion lib/inline_forms/version.rb
@@ -1,3 +1,3 @@
module InlineForms
VERSION = "1.1.5"
VERSION = "1.1.6"
end

0 comments on commit bdf3372

Please sign in to comment.