Item-catalog project hosted on a aws lightsail server
IP address: 13.234.17.149.
Accessible SSH port: 2200.
Application URL : 13.234.17.149/candymanufacturers
-
Updated exisitng packages
-
Configured the UFW (SSH access from lightsail console disabled(port 22), enabled access from port 2200) allowed basic http server
-
Created user named grader provided it sudo permissions
-
setup secure key exchange mechnism using rsa keys for grader user to log into server
-
Installed Apche2, mod_wsgi, PostgreSql, Python
-
created a linux user named catalog for databse manipulation.
-
Cloned the project from github
-
Setup final application and environment by creating catalog.wsgi file and catalog-app.conf file
- Apache2
- mod_wsgi
- PostgreSQL
- Python
- touch (for file creation)
- nano text editor
- Git (for cloning directory from github)
- SQLAlchemy
- Flask
- For successfully accessign server through 2200 port SSH https://stackoverflow.com/questions/47342988/aws-ssh-port-timeout-after-changing-port-number
- Countering package import errors https://stackoverflow.com/questions/34461987/python3-importerror-no-module-named-xxxx https://stackoverflow.com/questions/48780634/modulenotfounderror-no-module-named-oauth2client-client?rq=1
- No such file or directory error fix https://www.pythonanywhere.com/forums/topic/4200/