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.
![]() |
11 months ago | |
---|---|---|
static | 2 years ago | |
templates | 12 months ago | |
.gitignore | 1 year ago | |
LICENSE.md | 2 years ago | |
README.md | 11 months ago | |
app.py | 1 year ago | |
blog.py | 1 year ago | |
editor.py | 1 year ago | |
requirements.txt | 1 year ago | |
setup-flask | 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.