Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Our 2-person 4-day development contribution to the Appsterdam website
tree: d81e413d20

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
design
lib
public
script
test
vendor/plugins
.gitignore
.kick
Gemfile
Gemfile.lock
LICENSE
Procfile
README.rdoc
Rakefile
TODO
config.ru

README.rdoc

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
Something went wrong with that request. Please try again.