Skip to content

Latest commit

 

History

History
32 lines (19 loc) · 997 Bytes

README.rdoc

File metadata and controls

32 lines (19 loc) · 997 Bytes

Appsterdam Members Listing

We’re in full development mode. For background chatter about the development process, check: @appsterdamrs, @fngtps, @alloy, @thijs.

If you want to know what we’re building, you can read the requirements.

Development

First do the regular Rails 3 dance.

$ bundle install
$ rake db:setup
$ cp config/initializers/twitter.example.rb config/initializers/twitter.rb
$ open config/initializers/twitter.rb

Fix the consumer credentials.

After that install Sphinx

$ brew instal sphinx
$ rake ts:index
$ rake ts:start

Production

Add a cron job which runs once every day that purges outdated classifieds:

0 0 * * * cd /path/to/app && /usr/local/bin/bundle exec /usr/local/rake purge_outdated_classifieds

You also might want to automatically update the Sphinx index

*/5 * * * * cd /path/to/app && /usr/local/bin/bundle exec /usr/local/rake ts:in