Giter VIP home page Giter VIP logo

buzz's Introduction

Work in progress podcasting app built using Rails and Ember

Updating podcast feeds

Manually

Run $ rake feeds:update to update all feeds.

Cron through whenever

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.

Testing with Facebook login.

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.

Facebook app setup.

  1. Create the app. Go to https://developers.facebook.com/apps/ and create an app named buzz-dev

  2. Export the app's id and secret to our env. Go to the app's settings page and copy the App ID and App 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";
  1. Add a website platform Click Add platform and select website. For development testing set the Site URL to http://localhost:3000/

buzz's People

Contributors

epalace510 avatar everett1992 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.