Skip to content

alklyn/catalog

Repository files navigation

What is it

A simple RESTful web catalog app using the Python framework Flask along which uses third-party (Google) OAuth authentication.

Built With :

Installation

  1. Install server os (In my case ubuntu 16.04).
  2. Change the port used for ssh SSH.
  3. Configure the Uncomplicated Firewall (UFW) to only allow incoming connections for SSH (the port you set in step 2), HTTP (port 80), and NTP (port 123).
  4. Setup key based login & disable password login for ssh.
  5. Install and configure Apache to serve a Python mod_wsgi application.
  6. Install and configure PostgreSQL.
  7. Create a new database user named catalog that has limited permissions to the catalog application database.
  8. Install flask/sqlalchemy
  9. Install git if it not installed
  10. Clone the catalog app catalog
  11. Install nginx