/portfolio

My personal website - coded using python flask

Primary LanguageHTML

Ning Gao

My Personal Portfolio on the web - link to website

Technology

Developed using Python Flask, and Jinja.

Pre-requisite

sudo pip install flask
sudo pip install flask-httpauth
sudo pip install flask_sqlalchemy
sudo pip install flask-wtf
sudo pip install flask-mail

optional for uwsgi

sudo pip install uwsgi

Run the service

If running using uwsgi

$ uwsgi --ini wsgi.ini &> wsgi.log &

nginx related configurations are in "/etc/nginx/sites-available/default"

Add trips to the travel

If you obtain the travel documents from google doc, store the html in templates/#trip_name/ directory and the images in static/images/trip_name/ directory. (TODO)The images are not retrieved correctly for now.