I'm Justin. I do physics and stuff. This is the codebase for my personal/professional website https://www.justinvasel.com.
- Python 2.7 (including pip)
- Flask
- Apache 2
- Let's Encrypt (for SSL)
- Digital Ocean (hosting)
If you want to get this site up and running for yourself, feel free to clone this repo and then do the following:
# If you already have virtualenv installed, skip this step
pip install virtualenv
# Do either A or B below to install required libraries
# A) Install the components automagically
make
# B) Do it manually if you want
virtualenv env
source env/bin/activate
pip install -r requirements.txt
# Spin up the development version of the application
python serve.py
Once that is up and running. Point your browser to http://127.0.0.1:5002
.
Note: In future, you'll need to set up the local environment with
source env/bin/activate
before spinning up the server.
This project follows common Flask practices. HTML files are in app/templates
and use Jinja templates. Static assets (like css, js, etc) are in app/static
.
Pull requests are welcome, but will only be accepted on a case-by-case basis. This is my personal website, after all.
Feel free to fork this and make it your own. See LICENCE.md for more details.