• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

mozilla/firefox-flicks: Firefox Flicks engagement campaign

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

mozilla/firefox-flicks

开源软件地址:

https://github.com/mozilla/firefox-flicks

开源编程语言:

Python 90.0%

开源软件介绍:

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.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap