Simple and useful catalog management
- The catalog is visible to any user without an account.
- To be able to create, edit and delete you need an account on Facebook, no need to create a new account on the catalog itself.
- The links to the options create,edit,delete on catalogs and items are available only to currently logged users
- To create an account simple login with your Facebook account and let know the system you are given access to your basic profile in Facebook.
-
Server address is 172.245.179.199
-
To access the server use SSH on port 2200 with the key provided.
-
To access via browser goto http://172.245.179.199/
-
After the server was deployed , we need to make a few changes to update an secure it:
- Updated system packages
- Activate and configure UFW (firewall).
- Change default SSH port
- Configure port 80 to server our catalog
- Activate port NTP
- Deactivate root access
- Deactiveate password access, enforcing key-based authentication
- Give user(not root) access to run the server
-
Our server uses Apache, WSGI, Python, Flask, SQLAlchemy and Postgress as database engine
NOTES:
- To run the python server, apache must not be running
- To run the catalog server use the command : sudo python project.py
- Only users signed in are able to do create and make changes on items and catalogs.
- Only owners(creator)of the catalog or items have the right to edit or delete them.
- For a cross site needs, the catalog provides a JSON structure information:
- if you have any questions on how to use the blog or with the installation don't doubt to contact us at omarruben@hotmail.com
"# Udacity-catalog"