Skip to content

Efficiently randomize the selection of rows from a large database.

Notifications You must be signed in to change notification settings

drenz/RandomRow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instructions to deploy this application:
(requires a running instance of mysql)

For more information, see my blog post at http://davidrenz.net (bit.ly/fqFAH9)

git clone git@github.com:drenz/RandomRow.git

cd RandomRow

bundle install

# configure the database to match your install
vim config/database.yml

rake db:setup RAILS_ENV="development"

# configure load the sample tweets
mysql -u root -p -D RandomRow_development < db/tweets.sql 

rails s

In a web browser, go to localhost:3000/tweets 

About

Efficiently randomize the selection of rows from a large database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published