Tool for exploring optimal mini-grid network configurations for small, rural villages
Click here to try the interactive Jupyter notebook:
See the blog post here: https://rdrn.me/flask-optimize-minigrid/
From these instructions: http://toroid.org/git-website-howto
-
Set up git repository on local
-
On remote, add mgo.git and do git init --bare
-
In mgo.git, add to hooks/post-receive: #!/bin/sh GIT_WORK_TREE=/var/www/www.example.org git checkout -f sudo service supervisor restart
-
chmod +x hooks/post-receive
-
On local, add a name for the remote git remote add web ssh://@/path/to/app.git
-
Add to ~/.ssh/config host HostName IdentityFile ~/.ssh/ User git
-
git push web +master:refs/heads/master
-
log in to server: ssh -i ~/.ssh/ @
Following this: https://medium.com/ymedialabs-innovation/deploy-flask-app-with-nginx-using-gunicorn-and-supervisor-d7a93aa07c18
And this for letsencrypt: https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04