Code Monkey home page Code Monkey logo

firefox-flicks's Introduction

Firefox Flicks

Firefox Flicks is a playdoh-based site that allows users to submit vidoes and view other entries in the Firefox Flicks contest.

Setup

These instructions assume you have git, python, and pip installed. If you don't have pip installed, you can install it with easy_install pip.

  1. Start by getting the source:

    $ git clone --recursive git://github.com/mozilla/firefox-flicks.git
    $ cd firefox-flicks
  2. Create a virtualenv for Flicks. Skip the first step if you already have virtualenv installed.

    $ pip install virtualenv
    $ virtualenv venv
    $ source venv/bin/activate
  3. Install the compiled requirements:

    $ pip install -r requirements/compiled.txt
  4. Set up a local MySQL database. The MySQL Installation Documentation explains how to do this.

  5. Configure your local settings by copying flicks/settings/local.py-dist to flicks/settings/local.py and customizing the settings in it:

    $ cp settings/local.py-dist settings/local.py

    The file is commented to explain what each setting does and how to customize them.

  6. Initialize your database structure:

    $ python manage.py syncdb
    $ python manage.py migrate
  7. Install translations from SVN into the firefox-flicks/locale directory:

    $ git svn clone https://svn.mozilla.org/projects/l10n-misc/trunk/firefoxflicks/locale/ locale
    # or
    $ svn checkout https://svn.mozilla.org/projects/l10n-misc/trunk/firefoxflicks/locale/ locale
  8. Install the GNU version of gettext. If you are on OSX, you can do this using Homebrew:

    $ brew install gettext
    $ brew link gettext
  9. Compile the translations:

    $ python manage.py compilemessages

Running the Development Server

You can launch the development server like so:

$ python manage.py runserver

Waffle Flags

The following waffle flags are in use:

  • winners_page - Controls whether the winners page is available, as well as displaying winner information on designated videos.

License

This software is licensed under the New BSD License. For more information, read the file LICENSE.

firefox-flicks's People

Contributors

bensternthal avatar craigcook avatar davedash avatar erikrose avatar fwenzel avatar glogiotatidis avatar kumar303 avatar osmose avatar ozten avatar peterbe avatar pmac avatar ppapadeas avatar stasm avatar tofumatt 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.