This repository is the code for the Universal Subtitles project.
The full documentation can be found at http://dev.universalsubtitles.org/site-docs/.
To run the development version:
-
Git clone the repository:
git clone git://github.com/pculture/unisubs.git unisubsNow the entire project will be in the unisubs directory.
-
Install VirtualBox if you don't have it yet. Then type:
vagrant upThis is going to create a vm and provision it. It should take 10-15 minutes. Remember what mom said: a watched pot never boils.
-
Switch over to your vagrant vm with:
vagrant sshThen run following commands:
cd /opt/unisubs source venv/bin/activate python manage.py syncdb --all --settings=dev_settings python manage.py migrate --fake --settings=dev_settings sudo ./deploy/update_solr_schema_vagrant.sh -
Add
unisubs.example.comto your hosts file, pointing at127.0.0.1. This is necessary for Twitter and Facebook oauth to work correctly. -
In your vagrant vm (the one you switched to in step 3), run the site with:
./dev-runserver.shYou can access the site at http://unisubs.example.com:8000.