deploy ipython notebook instances on a server
this script assumes a few things:
- you have fabric installed locally
- you have anaconda's python environment installed on your server
- you have supervisor and nginx running on your server
- supervisor is configured to include .conf files located in
/etc/supervisor.ipython/
- nginx is configured to include location .conf files located in
/etc/nginx/conf.d/ipynb/
run the script locally:
ipynb_config.py username group 8888
where username
is the user that you are setting up a notebook for, group
is a group for the user to run as and 8888
is a unique port. Follow the prompts to login to the server with a user that has sudo priviledges. The script will also prompt you for a password for the user's ipython notebook profile.