Skip to content

Latest commit

 

History

History
63 lines (40 loc) · 1.39 KB

README.md

File metadata and controls

63 lines (40 loc) · 1.39 KB

Chilling Effects

Description here.

Development

Requirements:

  • ruby 2.0
  • modern postgres
  • A jre (openjdk works fine)

Setup:

./bin/setup

Running the app:

foreman start -f Procfile.dev

Viewing the app:

$BROWSER 'http://localhost:5000'

Resetting the database:

DB_RESET=1 ./bin/setup

Note: foreman cannot be running during a db-reset.

During seeding, you can customize behavior with a couple environment variables:

  • NOTICE_COUNT=10 will generate 10 (or any number you pass it) notices instead of the default 500
  • SKIP_FAKE_DATA=1 will skip generating fake seed data entirely.

Admin login:

Username: admin@chillingeffects.org
Password: password

Ephemera

The /blog_entries page contains a google custom search engine that's supposed to search the chillingeffects blog. To enable, create a custom search engine here restricted to the path the blog lives at, for instance http://www.chillingeffects.org/blog_entries/*. Extract the "cx" id from the javascript embed code and put it in the GOOGLE_CUSTOM_BLOG_SEARCH_ID environment variable. The blog search will appear after this variable has been configured.

License

Chilling Effects is licensed under GPLv2. See LICENSE.txt for more information.

Copyright

Copyright (c) 2013 President and Fellows of Harvard College