GitHub
Wikirate.org uses the Decko application code.
Code Organization
Like all Decko decks, WikiRate's code is organized in mods.
Steps to make it work
The following will help set up a functioning wikirate site with a small subset of (mostly fake) data. Some pages will not look complete.
-
- fork repo on github: https://github.com/wikirate/wikirate/
- clone repo: git clone git@github.com:YOURNAME/wikirate.git
- enter dir: cd wikirate
- init/update submodules git submodule update -f --init --recursive
- install gems: bundle install
- set up config: cp -R sample_config/* config
- populate dev database (with test data): DATABASE_NAME_TEST=wikirate_dev bundle exec rake wikirate:test:seed or start fresh with a subject of your choice: bundle exec rake wikirate:new_with_subject Camels
- add AWS credentials to config/application.rb (Ask wikirate dev team! Sorry, we'll make this easier soon)
- to make assets like icons work: bundle exec rake decko:update_assets_symlink
- reset machines rake card:reset_machine_output
- start server: bundle exec decko s
Note:
- initial homepage load will take a long time.
- You can log into the test data with:
- joe@user.com / joe_pass, or
- joe@admin.com / joe_pass
More info: https://github.com/wikirate/wikirate .