This is a fork of my Course Catalog project
This contains the project files and information for deploying to my configured Linux server.
It is a project for Udacity's Full Stack Web Development Nanodegree.
54.202.21.35
- Python 2.7.12
- Apache2
- mod_wsgi
- PostgreSQL
- Update all packages
- Change SSH port to 2200
- Open ports 2200, 80, and 123 on Amazon Lightsail and within UFW
- Enable UFW
- Add user
grader
and add grader tosudo
group - Add user
course_catalog
- Configure timezone to UTC
- Install Apache, mod_wsgi, pip, and virtualenv
- Install PostgreSQL, create user
course_catalog
, and create databasecourse_catalog
- Install Git and push project to server
- Configure Apache Virtual Host and WSGI to work with Flask application. Found help from Flask docs and DigitalOcean
- Git push application to server and set up Flask on virtualenv
- Adjust permissions within project directory
- Flask
- Flask-SQLAlchemy
- Flask-Bcrypt
- Requests
- Psycopg2
- Installing Flask on Apache: Flask docs and DigitalOcean
- Using Git to deploy on Ubuntu: DigitalOcean
- Installing and Configuring PostreSQL: DigitalOcean
- Securing PostgreSQL: DigitalOcean
- Setting permissions within
/var/www
: https://askubuntu.com/a/493401