This project contains information on how an Amazon AWS instance was configured to host a Sporting Goods Catalog app, developed for a previous project. The goal of this project was to configure a Linux web server to securely host a web app.
52.38.237.92
80
These Ubuntu packages were installed in order to get server functionality up:
finger
apache2
libapache2-mod-wsgi
postgresql
postgresql-contrib
git
python-pip
python-virtualenv
libpq-dev
python-dev
These packages were installed in order to run the catalog app:
flask
sqlalchemy
oauth2client
requests
bleach
- SSH configuration: https://help.ubuntu.com/community/SSH/OpenSSH/Configuring
- A virtual environment was created and configured using the steps here: http://askubuntu.com/questions/244641/how-to-set-up-and-use-a-virtual-python-environment-in-ubuntu. A new virtual environment was created called
catalogenv
was created in the Apache root, along with the cloned Catalog app. - For installing the
psycopg2
python package, I needed to install as specified here: http://stackoverflow.com/questions/5420789/how-to-install-psycopg2-with-pip-on-python - For installing and configuring postgresql and creating new users and databases for it: https://help.ubuntu.com/community/PostgreSQL