- IP: 18.222.90.183
- URL: http://18.222.90.183/home/
- SSH port: 2200
- python 2.7
- Flask
- psycopg2
- postgresql
- apache2
- httplib2
- oauth2client
- sqlalchemy
- venv
- git
- update/upgrade packages
- configure firewall on correct ports
- enable firewall
- add user grader
- make grader sudoer
- disable remote login of root user
- force key-based SSH authentication
- add public key to authorized keys for grader
- install and configure necessary packages (listed above)
- deploy app
- https://www.digitalocean.com/community/tutorials/how-to-secure-postgresql-on-an-ubuntu-vps
- https://www.digitalocean.com/community/tutorials/how-to-deploy-a-flask-application-on-an-ubuntu-vps
- https://www.digitalocean.com/community/tutorials/how-to-use-roles-and-manage-grant-permissions-in-postgresql-on-a-vps--2
- https://stackoverflow.com/questions/15520361/permission-denied-for-relation
- https://www.digitalocean.com/community/questions/setting-up-apache-virtual-hosts-i-keep-getting-the-apache-default-page
- https://www.digitalocean.com/community/questions/500-internal-server-error-how-can-i-fix-this-this-website-was-supposed-to-be-a-christmas-present
- https://askubuntu.com/questions/603451/why-am-i-getting-the-apache2-ubuntu-default-page-instead-of-my-own-index-html-pa