An experimental app using Google's Natural Language processing to process user sentiment analysis on YouTube content and comments.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
git clone git@github.com:robcharlwood/you-judge.git
mkvirtualenv you-judge
(I recommend using virtualenvwrapper
)./install_deps
to install Python requirements.If you created your environment with virtualenvwrapper
, then I suggest adding the below to your virtualenv's postactivate
script so that you can always ensure you are working on the correct path when you activate your env.
In your choice of editor open the below file - example uses nano:
nano /Users/foo/.virtualenvs/virtualenvname/bin/postactivate
Now ensure that you add the below
cd /path/to/where/code/lives/
Once you activate your environment, this code will move you to the project's code directory.
./serve
.Config
model instance with your relevant API and Oauth client keys and secrets etc.You can run the test suite using the below command.
./run_tests
You can also run individual test classes or tests using the spec syntax.
./run_tests appname.tests.test_module
./run_tests appname.tests.test_module:TestCaseClass
./run_tests appname.tests.test_module:TestCaseClass.test_method
You can clean the codebase using the ./clean_imports
script
To deploy the code to appengine follow the below steps
master
in to your feature branch git merge --no-ff master
./run_tests
master
and merge in your feature branch git checkout master && git merge --no-ff feature-branch-name
app.yaml
README.md
git tag -a 0-0-1 -m"0-0-1 Initial MVP release"
git push origin master
./deploy
and follow the promptsThis project uses git for versioning. For the available versions, see the tags on this repository.
This project adheres to pep8 standards and we use isort to handle the sorting of imports. The Python code is all unit tested as a bare minimum with integration and end to end tests added for particularly complex parts of functionality.
This project is accepting pull requests on pretty much anything front end. I'm a backend Engineer by trade, and whilst I can make things look good, I can't do it as well as you lot can. :) Themes, JS, optimisations, progressive enhancement etc its all good! All PR's very, very welcome.
This project is licensed under the MIT License - see the LICENSE.md file for details