https://github.com/tsherburne/udacity-fsdev-hosted-catalog
Udacity Full-stack Developer Linux Hosting Project
https://github.com/tsherburne/udacity-fsdev-hosted-catalog
udacity-fullstack-nanodegree
Last synced: about 2 months ago
JSON representation
Udacity Full-stack Developer Linux Hosting Project
- Host: GitHub
- URL: https://github.com/tsherburne/udacity-fsdev-hosted-catalog
- Owner: tsherburne
- Created: 2018-02-18T14:34:56.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-18T22:18:23.000Z (over 7 years ago)
- Last Synced: 2025-02-05T17:12:01.453Z (4 months ago)
- Topics: udacity-fullstack-nanodegree
- Language: Python
- Homepage:
- Size: 34.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## AWS Lightsail Hosting for: Wood Products Catalog
This respository is for project #6 (Linux Hosting)
for the [Udacity Fullstack Developers Nano Degree](https://www.udacity.com/course/full-stack-web-developer-nanodegree--nd004).This project is a clone of [project #4](https://github.com/tsherburne/udacity-fsdev-catalog) with some path name fixes to support the Apache hosting environment.
### Table of Contents
* [Lighsail Setup](#lightsail-setup)
* [Server Access](#server-access)### Lightsail Setup
The following packages were installed on the Ubuntu [AWS Lightsail](https://aws.amazon.com/lightsail/) server:
```
sudo apt-get install apache2
sudo apt-get install libapache2-mod-wsgisudo apt install phthon-pip
sudo apt install sqlite
sudo pip install Flask
sudo pip install SQLAlchemysudo pip install google-api-python-client
sudo pip install google-auth
sudo pip install google-auth-oauthlib
sudo pip install google-auth-httplib2
```
The apache server was configured to lauch the Python catalog application with the following:
```
/var/www/html/catalog.wsgi
```
```
import sys
sys.path.insert(0, '/home/ubuntu/website/udacity-fsdev-hosted-catalog/')from server import app as application
```
```
/etc/apache2/sites-enabled/000-default.conf
```
```
WSGIDaemonProcess catalog user=ubuntu group=ubuntu threads=5
WSGIScriptAlias / /var/www/html/catalog.wsg
```### Server Access
The URL for the catalog db application is:
```
http://ec2-52-1-33-79.compute-1.amazonaws.com/
```
SSH is enabled on port 2200 for the 'grader' user. The server IP: 52.1.33.79