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 6 days ago
static Fixup static build and adjust text 9 months ago
templates Add base href. 1 month ago
.gitignore Begin re-port back to Python 6 months ago
LICENSE.md Initial commit 1 year ago
README.md README: Add archival notice 6 days ago
app.py Begin re-port back to Python 6 months ago
blog.py blog.py: Guarantee reverse chronological order 6 months ago
editor.py Fix title application 6 months ago
requirements.txt Begin re-port back to Python 6 months ago
setup-flask Begin re-port back to Python 6 months 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.