Work in progress podcasting app built using Rails and Ember
Run $ rake feeds:update
to update all feeds.
There is a schedule file in config/schedule.rb
that defines cron tasks to run
rake feeds:update
every two hours. Assuming you have cron enabled you should run:
whenever -w -s 'environment=<RAILS_ENV>'
where <RAILS_ENV>
is development
on a development box, and production
if this is
a release server.
This app draws your facebook developer credentials from your system's environment. To test and use facebook login while developing you will have to create a facebook developer account and create an app.
-
Create the app. Go to
https://developers.facebook.com/apps/
and create an app namedbuzz-dev
-
Export the app's id and secret to our env. Go to the app's
settings
page and copy theApp ID
andApp Secret
into your shell's rc (likely~/.bashrc
or~/.zshrc
).
export BUZZ_FACEBOOK_APP_ID='---------------'
export BUZZ_FACEBOOK_SECRET='---------------'
Ensure this information is not uploaded anywhere public. I use a ~/.keys
file that I source in my shell rc's instead so that I can make my rc's
public.
# ~/.zshenv
#:: load credentials
[[ -f "$HOME/.keys" ]] && source "$HOME/.keys";
- Add a
website
platform Click Add platform and select website. For development testing set theSite URL
tohttp://localhost:3000/