Skip to content
Python JavaScript HTML CSS
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.docker Use exec in our docker entrypoint
.tx fixed transifex config
apps Merge pull request #2460 from pculture/infrastructure
bin Fixed the dev bash command
closure Remove unused compilation scripts.
css-compression Improved sphinx doc, moved deployment guide and running unisubs to th…
deploy Pinning selenium version.
docker-dev/mysql/conf.d Fix for searching against short words / stop words
docs Removed raven
libs Removed video type
locale Updated transifex translations -- through
media yet some additional improvements in account confirmation page
optional Bumping version
static try 137
templates fixed typo in template
user-data Use a temp dir for MEDIA_ROOT during the tests.
utils Log users in request data
.agignore gitignore cleanup
.ctags Add a .ctags file.
.dockerignore Docker build update
.ffignore Ignore more files.
.gitignore gitignore cleanup
.jshintrc Add jshintrc
.kick Working on new editor HTML and CSS.
COPYING Added license file
Dockerfile Docker container fixes
README.markdown Updated docker-compose commands
README.transifex Changed all mirosubs references to unisubs. This also entails: Changing our copyright year to 2013. Added crossdomain views file for last commit. Added JSON logging output Updated test signals a bit
docker-compose.yml Simpler way to switch on JSON logging
initial_data.yaml there were two entries for site 15 so the wrong base url was returned… Move startup code to 1 place (#1605) Updated error message in our logs Docker container fixes
schema.xml added fig local dev environment Upgrade sentry. Merge pull request #2460 from pculture/infrastructure Fixed generating counts for the video sitemap Docker container fixes Changed way we keep the new video index updated Removed haystack/solr code
testacular.conf.js 2101: Use text() to replace a node's contents when we're exporting th… Removed haystack/solr code Merge pull request #2460 from pculture/infrastructure Log errors to elasticsearch


This repository is the code for the Amara project.

The full documentation can be found at

Quick Start

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

  1. Git clone the repository:

    git clone git:// unisubs

    Now the entire project will be in the unisubs directory.

  2. Install docker-compose (

  3. Build the Amara docker image:

    bin/dev build
  4. Start Amara Containers:

    bin/dev up
  5. Configure Database:

    bin/dev dbreset
  6. Add to your hosts file, pointing at This is necessary for Twitter and Facebook oauth to work correctly.

    You can access the site at

To see services logs, run docker-compose logs <service> i.e. docker-compose logs worker


To run the test suite:


Dev Notes

To run a single command:

    bin/dev manage <command>

To see running services:

    docker-compose ps

To stop and remove all containers:

    docker-compose kill ; docker-compose rm

To view logs from a service:

    docker-compose logs <service>

To create an admin user:

    docker-compose run --rm app python createsuperuser --settings=dev_settings
Something went wrong with that request. Please try again.