Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/schneidmaster/debatevid.io
DebateVid.io is a centralized repository for parliamentary, policy, and Lincoln-Douglas debate videos.
https://github.com/schneidmaster/debatevid.io
Last synced: about 2 months ago
JSON representation
DebateVid.io is a centralized repository for parliamentary, policy, and Lincoln-Douglas debate videos.
- Host: GitHub
- URL: https://github.com/schneidmaster/debatevid.io
- Owner: schneidmaster
- License: mit
- Created: 2015-04-05T22:16:00.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T03:20:15.000Z (almost 2 years ago)
- Last Synced: 2024-04-15T00:15:03.233Z (9 months ago)
- Language: JavaScript
- Homepage: https://debatevid.io
- Size: 3.94 MB
- Stars: 5
- Watchers: 3
- Forks: 3
- Open Issues: 30
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[![Build Status](https://circleci.com/gh/schneidmaster/debatevid.io.svg?style=shield)](https://circleci.com/gh/schneidmaster/debatevid.io)
[![Test Coverage](https://codeclimate.com/github/schneidmaster/debatevid.io/badges/coverage.svg)](https://codeclimate.com/github/schneidmaster/debatevid.io/coverage)
[![Code Climate](https://codeclimate.com/github/schneidmaster/debatevid.io/badges/gpa.svg)](https://codeclimate.com/github/schneidmaster/debatevid.io)# DebateVid.io
[DebateVid.io](https://debatevid.io) is a centralized repository for parliamentary, policy, and Lincoln-Douglas debate videos.
## Development
DebateVid.io is built on Ruby on Rails and uses yarn for frontend assets.
### Setup
1. Clone the repository (`git clone [email protected]:schneidmaster/debatevid.io.git`)
2. Install gems: `bundle install`
3. Install packages: `yarn install`
4. Start the Rails and webpack servers: `foreman start -f Procfile.dev`### Configuration
DebateVid.io uses [dotenv](https://github.com/bkeepers/dotenv) to manage configuration. Specifically, client IDs and secret keys for Facebook, Twitter, and Google as well as the API key for YouTube are kept in a local file excluded from the Git repository. To set up your application for development, you need to first create test applications on the [Facebook](https://developers.facebook.com/apps), [Twitter](https://apps.twitter.com/), and [Google](https://console.developers.google.com/) developer portals. Then, generate the appropriate keys and create a file named `.env` in the application root directory with the following contents:
```
FACEBOOK_KEY=################
FACEBOOK_SECRET=################
TWITTER_KEY=################
TWITTER_SECRET=################
GOOGLE_KEY=################
GOOGLE_SECRET=################
YOUTUBE_DEV_KEY=################
```In the production environment, the Rails secret key base and database password are also kept in the application environment:
```
SECRET_KEY_BASE=################
DB_PASSWORD=################
```## Staging/Production Configuration
On Heroku, DebateVid.io requires both the node buildpack (for webpack/asset compilation) and the ruby buildpack. Add them with:
```
heroku buildpacks:clear
heroku buildpacks:set heroku/nodejs
heroku buildpacks:add heroku/ruby --index 2
```## Contributing
1. Fork it (https://github.com/schneidmaster/debatevid.io/fork)
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request## License
MIT