please use run_mysql.sh and db_schema.sql to init a DB instance, remember to modify db connect string in config.py.
cd AlgContract/algcontract/ && python cu_contract.py
python model_trainer.py test
python model_trainer.py
python recommender.py $port
python recommend_test.py
python content_miner_test.py
Since this git repo contains submodule which is not well supported by Heroku, deployment can only be done by git push (cannot by web UI):
git push https://git.heroku.com/recommend-server-web2.git master
and then scale web dynos to at least 1:
heroku ps:scale web=1 -a recommend-server-web2