crodjer / mirosubs Goto Github PK
View Code? Open in Web Editor NEWThis project forked from 8planes/mirosubs
Universal subtitling for online video
License: GNU Affero General Public License v3.0
This project forked from 8planes/mirosubs
Universal subtitling for online video
License: GNU Affero General Public License v3.0
This repository is the code for the universal subtitles project (http://universalsubtitles.org) To run the development version: 1. Git clone the repository: git clone git://github.com/8planes/mirosubs.git mirosubs Now the entire project will be in the mirosubs directory. 2. Install virtualenv http://pypi.python.org/pypi/virtualenv 3. (optional) download and download the virtualenv wrapper bash functions http://www.doughellmann.com/projects/virtualenvwrapper/ 4. Create a virtual environment and activate it. Here is how to do it *without* the virtualenv wrapper. Run these commands from the parent of the mirosubs directory created in #1: $ virtualenv mirosubs-env $ source mirosubs-env/bin/activate If you're using the virtualenv wrapper (run from any directory): $ mkvirtualenv mirosubs $ workon mirosubs 5. run: $ easy_install -U setuptools $ easy_install pip $ cd deploy # this is the mirosubs directory you cloned from git, not the parent you created the virtualenv in. $ pip install -r requirements.txt note: you'll need mercurial installed to make this last command work. note2: If you do not have the MySQL bindings installed (MySQLdb) and wish to keep it that way, unisubs runs just fine on sqlite, just comment out the line "MySQL_python>=1.2.2" on deploy/requirements.txt before running this command. 6. Check out google closure into directory of your choice: svn checkout http://closure-library.googlecode.com/svn/trunk/ <directory>. Then symlink media/js/closure-library to the checkout location. From the mirosubs directory in step 1: $ cd media/js $ ln -s <google closure checkout directory> closure-library 7. Add mirosubs.example.com to your hosts file, pointing at 127.0.0.1. This is necessary for Twitter oauth to work correctly. 8. From the mirosubs directory created in step 1, first create the database with python manage.py syncdb Then update the database with python manage.py migrate SQLLite warnings are okay. Then run the site with: ./dev-runserver.sh You can access the site at http://mirosubs.example.com:8000. 9. (optional) If you want to run video searches locally, you need to set up solr: A. Download solr and unzip to ../buildout/parts/solr (relative to this directory). B. Run ./manage.py run_solr in one terminal that is dedicated to running the solr process. C. run ./manage.py rebuild_index to update the index. D. That should be it but, in case you're interested, there's a list of haystack commands at http://docs.haystacksearch.org/dev/management_commands.html * If you want to install SOLR as a daemon on your Mac, please see https://github.com/8planes/mirosubs/wiki/Running-SOLR-as-a-daemon-on-Mac
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.