Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: staging
Failed to load latest commit information.
.docker Run update-integration even if the AWS keys are not present
.tx fixed transifex config
apps Hopefully fix the query in data migration
bin doc wording fix
closure Remove unused compilation scripts.
css-compression Improved sphinx doc, moved deployment guide and running unisubs to th…
deploy Merge branch 'production' into staging
docs API doc updates
jenkins We don't have icanhaz anymore
libs Removing rosetta, django_extensions, and markup.
locale Manually fixed translatable and translated strings to avoid re-doing …
media minor styling tweak in tutorial
optional Bumping version
puppet merged dev
static try 137
templates Removed erroneous quoted in template
user-data Added static jpeg for testing
utils Split the test_utils module into a package.
.agignore Ignore more files.
.agignorevcs Add .agignore and .agignorevcs for better Ag searching.
.ctags Add a .ctags file.
.ffignore Ignore more files.
.gitignore Removing some unneed entries in .gitignore
.jshintrc Add jshintrc
.kick Working on new editor HTML and CSS.
COPYING Added license file
Dockerfile Upgrade Dockerfile
README.markdown bump for ci test
README.transifex Changed all mirosubs references to unisubs. This also entails:
__init__.py Changing our copyright year to 2013.
crossdomain_views.py Added crossdomain views file for last commit.
dev_settings.py Log youtube get_video_info calls
dev_settings_test.py Another batch of webdriver test updates.
fig.yml Move feed updates to their own celery queue
initial_data.yaml there were two entries for site 15 so the wrong base url was returned…
manage.py Move startup code to 1 place (#1605)
middleware.py Use hashlib instead of hashcompat
optionalapps.py Don't import from django.conf.urls.defaults
routers.py Corrected stupid mistake with rpc.py. Added uslogging app.
schema.xml added fig local dev environment
search_site.py add base of search view
sentry.dev.conf.py Upgrade sentry.
settings.py Merge pull request #2055 from pculture/gh-1883
sitemaps.py Fixed generating counts for the video sitemap
startup.py Bunch of documentation fixes
task_settings.py Retry failed youtube sync attempts (#1858)
test_settings.py Test fixes/improvements
test_staging_settings.py updated test solr settings
testacular.conf.js 2101: Use text() to replace a node's contents when we're exporting th…
unisubs_settings.py Remove STATIC_URL from settings files
urls.py Fix for debug toolbar urls
views.py Changing our copyright year to 2013.

README.markdown

This repository is the code for the Amara project.

The full documentation can be found at http://amara.readthedocs.org/en/latest/index.html

Quick Start

Amara uses Docker. For ease of development, we use the Fig tool to have a full, production like, local dev environment.

  1. Git clone the repository:

    git clone git://github.com/pculture/unisubs.git unisubs
    

    Now the entire project will be in the unisubs directory.

  2. Install Fig (http://orchardup.github.io/fig/install.html)

  3. Build the Amara docker image:

    ./bin/dev build
    
  4. Start Amara Services:

    fig up -d db worker cache search queue
    
  5. Configure Database:

    ./bin/dev dbreset
    
  6. Start Amara:

    fig up app
    
  7. Add unisubs.example.com to your hosts file, pointing at 127.0.0.1. This is necessary for Twitter and Facebook oauth to work correctly.

    You can access the site at http://unisubs.example.com:8000.

To see services logs, run fig logs <service> i.e. fig logs worker

Testing

To run the test suite:

    ./bin/test.sh

Dev Notes

To run a single manage.py command:

    fig run --rm app python manage.py <command>

To see running services:

    fig ps

To stop and remove all containers:

    fig kill ; fig rm

To view logs from a service:

    fig logs <service>

To create an admin user:

    fig run --rm app python manage.py createsuperuser --settings=dev_settings
Something went wrong with that request. Please try again.