Skip to content
djsegal edited this page Sep 15, 2024 · 6 revisions

Welcome to the julia_observer wiki!


To get julia observer up and running locally, type these commands into the terminal:

  • export ADMIN_EMAIL=__your_email__
  • export ACCESS_TOKEN=__your_github_api_token__
  • export REDDIT_CLIENT_ID=__your_reddit_api_client_id__
  • export REDDIT_SECRET=__your_reddit_api_secret__
  • export DISCOURSE_API_KEY=__your_discourse_api_key__
  • export DISCOURSE_API_USERNAME=__your_discourse_api_username__
  • git clone https://github.com/djsegal/julia_observer.git
  • cd julia_observer
  • bundle install
  • rake db:create db:migrate
  • rake job:boot job:download
  • // wait an hour for github-api rate-limit to reset
  • rake job:expand job:update
  • // grab a coffee...
  • rails server

If everything went ok, you can now visit localhost:3000 in the browser


notes:

  • __your_github_api_token__ can be generated at github.com
  • __your_reddit_api_info__ can be generated at reddit.com
  • __your_discourse_api_info__ must be generated by an admin at discourse.com

Seeding:

heroku run rake db:seed
heroku run rake custom_seed:readmes

// this is done in two steps now that there are so many packages and large readmes

(in future maybe just want to eat logs from sql)

Clone this wiki locally