Permalink
Browse files

Adding initial gitignore and sample files

  • Loading branch information...
1 parent f82d24c commit 46ce6b3965308f4365cfd06d6ac69226efb540a1 @nateklaiber nateklaiber committed Dec 18, 2012
Showing with 61 additions and 0 deletions.
  1. +18 −0 .gitignore
  2. +1 −0 .rvmrc.sample
  3. +42 −0 config/database.yml.sample
View
18 .gitignore
@@ -0,0 +1,18 @@
+# See http://help.github.com/ignore-files/ for more about ignoring files.
+#
+# If you find yourself ignoring temporary files generated by your text editor
+# or operating system, you probably want to add a global ignore instead:
+# git config --global core.excludesfile ~/.gitignore_global
+
+# Ignore bundler config
+/.bundle
+
+.rvmrc
+config/database.yml
+
+# Ignore the default SQLite database.
+/db/*.sqlite3
+
+# Ignore all logfiles and tempfiles.
+/log/*.log
+/tmp
View
1 .rvmrc.sample
@@ -0,0 +1 @@
+rvm use --install --create 1.9.3@tagora-proof
View
42 config/database.yml.sample
@@ -0,0 +1,42 @@
+# MySQL. Versions 4.1 and 5.0 are recommended.
+#
+# Install the MYSQL driver
+# gem install mysql2
+#
+# Ensure the MySQL gem is defined in your Gemfile
+# gem 'mysql2'
+#
+# And be sure to use new-style password hashing:
+# http://dev.mysql.com/doc/refman/5.0/en/old-client.html
+development:
+ adapter: mysql2
+ encoding: utf8
+ reconnect: false
+ database: proof_development
+ pool: 5
+ username: root
+ password:
+ socket: /tmp/mysql.sock
+
+# Warning: The database defined as "test" will be erased and
+# re-generated from your development database when you run "rake".
+# Do not set this db to the same as development or production.
+test:
+ adapter: mysql2
+ encoding: utf8
+ reconnect: false
+ database: proof_test
+ pool: 5
+ username: root
+ password:
+ socket: /tmp/mysql.sock
+
+production:
+ adapter: mysql2
+ encoding: utf8
+ reconnect: false
+ database: proof_production
+ pool: 5
+ username: root
+ password:
+ socket: /tmp/mysql.sock

0 comments on commit 46ce6b3

Please sign in to comment.