run blogofile without installing

categories: tutorial

I normally dont install software that is not packaged as a debian package to not mess up my system. So when I decided for blogofile as the html generator for this "blog" I didnt want to do different. I followed these steps:

git clone https://github.com/EnigmaCurry/blogofile.git blogofile
mkdir target
cd target
export PYTHONPATH=../blogofile
python -c "from blogofile import main; main.main()" init simple_blog
python -c "from blogofile import main; main.main()" build
python -c "from blogofile import main; main.main()" serve

In the future blogofile's setup.py should get a prefix option or a target that just builds but doesnt install but I'm too lazy to implement that now.

View Comments
blog comments powered by Disqus