My personal website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
jts 0a39add62d
README: Add archival notice
11 months ago
static Fixup static build and adjust text 2 years ago
templates Add base href. 12 months ago
.gitignore Begin re-port back to Python 1 year ago
LICENSE.md Initial commit 2 years ago
README.md README: Add archival notice 11 months ago
app.py Begin re-port back to Python 1 year ago
blog.py blog.py: Guarantee reverse chronological order 1 year ago
editor.py Fix title application 1 year ago
requirements.txt Begin re-port back to Python 1 year ago
setup-flask Begin re-port back to Python 1 year ago

README.md

Archival Notice

This repostiory is no longer relevant. Now that I have a WriteFreely instance, there is no need for a personal blog implementation. Now the main website is a directory which you can find live or on Gitea.

Trees' Street

This is the source code for my personal website and blog.

Running

If, for some reason, you wish to run this website locally, first make sure you have the requirements in requirements.txt. Then, run source setup-flask then flask run. All together:

git clone https://git.trees.st/Marie-Joseph/website.git
cd website
pip install -r requirements.txt
source setup-flask
flask run

Building

In addition to being a Flask app, the simplicity of this website makes it a logical choice for static generation. As such, URL conventions are adjusted to allow frozen-flask to generate a static version. To generate a static version, one would simply run:

git clone https://git.trees.st/Marie-Joseph/website.git
cd website
pip install -r requirements.txt
python app.py

The resultant files are in the new build directory.