Skip to content

Commit 28c204d

Browse files
committed
need to use mysql as have string IDS
1 parent ad2cba5 commit 28c204d

16 files changed

+21
-186
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ group :development do
2020
gem "ruby-debug19", :require => "ruby-debug"
2121
end
2222

23-
gem "sqlite3-ruby"
23+
gem "mysql2"
2424
gem "thin"

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ GEM
8282
treetop (>= 1.4.5)
8383
mime-types (1.16)
8484
mutter (0.5.3)
85+
mysql2 (0.2.4)
8586
polyglot (0.3.1)
8687
rack (1.2.1)
8788
rack-less (1.4.0)
@@ -120,7 +121,6 @@ GEM
120121
ruby_core_source (0.1.4)
121122
archive-tar-minitar (>= 0.5.2)
122123
sprockets (1.0.2)
123-
sqlite3-ruby (1.3.1)
124124
thin (1.2.7)
125125
daemons (>= 1.0.9)
126126
eventmachine (>= 0.12.6)
@@ -140,13 +140,13 @@ DEPENDENCIES
140140
aws-s3
141141
juggernaut (>= 2.0.0.beta3)
142142
less!
143+
mysql2
143144
paperclip!
144145
rack-less
145146
rack-sprockets
146147
rails (= 3.0.0)
147148
redis (>= 2.0.0.rc2)
148149
ruby-debug19
149-
sqlite3-ruby
150150
supermodel!
151151
thin
152152
yui-compressor

README.markdown

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ Try it out in your browser (Chrome optimized) - [http://getholla.com](http://get
1616
# Installation
1717

1818
* bundle install
19-
* rake db:setup
19+
* rake db:create
20+
* cat db/development_structure.sql | rails dbconsole
2021
* start redis
21-
* rails thin server
22-
* start the Juggernaut server - [http://github.com/maccman/juggernaut](http://github.com/maccman/juggernaut)
22+
* rails server thin
23+
* start the Juggernaut server - [http://github.com/maccman/juggernaut](http://github.com/maccman/juggernaut)
24+
25+
Now go to [http://localhost:3000/register](http://localhost:3000/register)

config/database.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
11
development:
2-
adapter: sqlite3
3-
database: db/development.sqlite3
2+
adapter: mysql2
3+
database: holla_development
4+
username: root
5+
password:
46
pool: 5
57
timeout: 5000
68

79
test:
8-
adapter: sqlite3
9-
database: db/test.sqlite3
10+
adapter: mysql2
11+
database: holla_test
12+
username: root
13+
password:
1014
pool: 5
1115
timeout: 5000
1216

1317
production:
14-
adapter: sqlite3
15-
database: db/production.sqlite3
18+
adapter: mysql2
19+
database: holla_production
20+
username: root
21+
password:
1622
pool: 5
1723
timeout: 5000

db/migrate/20100810182930_create_comments.rb

Lines changed: 0 additions & 18 deletions
This file was deleted.

db/migrate/20100810182939_create_assets.rb

Lines changed: 0 additions & 12 deletions
This file was deleted.

db/migrate/20100810183031_create_emails.rb

Lines changed: 0 additions & 15 deletions
This file was deleted.

db/migrate/20100817233131_create_clients.rb

Lines changed: 0 additions & 13 deletions
This file was deleted.

db/migrate/20100817233142_channel.rb

Lines changed: 0 additions & 13 deletions
This file was deleted.

db/migrate/20100817233159_create_user_channel.rb

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)