Lets use docker for development and production.
theano
docker run --name theano -dit -v /Users/markwang/github/iGEM2016:/root/iGEM2016 kaixhin/theano
docker exec -it theano /bin/bash
persistent data volume container
docker create -v /var/lib/mysql --name dbdata mysql
mysql container
docker run --volumes-from dbdata --name ml_mysql -e MYSQL_ROOT_PASSWORD=1122 -d mysql
docker cp $HOME/github/iGEM2016/dota2DL/db/dbinit.sql ml_mysql:/dbinit.sql
docker exec -it ml_mysql bash
# interactive shell
docker run -it --link ml_mysql:mysql --rm mysql sh -c 'exec mysql -h"$MYSQL_PORT_3306_TCP_ADDR" -P"$MYSQL_PORT_3306_TCP_PORT" -uroot -p"$MYSQL_ENV_MYSQL_ROOT_PASSWORD"'
application container
docker run --name igem2016 --link ml_mysql:mysql -dit -v $HOME/github/iGEM2016:/root/iGEM2016 -v $HOME/github/DeepLearningTutorials:/root/DeepLearningTutorials tt6746690/igem2016:test /bin/bash
production
cd $HOME/github
git clone https://github.com/tt6746690/iGEM2016.git
docker create -v /var/lib/mysql --name dbdata mysql
docker run --volumes-from dbdata --name ml_mysql -e MYSQL_ROOT_PASSWORD=1122 -d mysql
docker cp $HOME/github/iGEM2016/dota2DL/db/dbinit.sql ml_mysql:/dbinit.sql
mysql -u root -p
source dbinit.sql
docker run --name igem2016 --link ml_mysql:mysql -dit -v $HOME/github/iGEM2016:/root/iGEM2016 tt6746690/igem2016:test /bin/bash
docker exec -it igem2016 bash
Resources
Official theano tutorial
Neural network demystified
Dockerfile digitalocean tutorial
dota2 cp blog summary
csc411: intro to machine learning
standord cs229 machine learning
papers