2020-02-03 20:15:41 +01:00
|
|
|
MagosIT website
|
|
|
|
===============
|
|
|
|
|
|
|
|
One variation of a simple MagosIT Kft static website for the company with fast loading times and easy-to-change markup based content.
|
|
|
|
|
|
|
|
Uses prosopopee
|
|
|
|
---------------
|
|
|
|
|
|
|
|
https://pypi.org/project/prosopopee/
|
|
|
|
|
|
|
|
Usage:
|
|
|
|
|
|
|
|
prosopopee
|
|
|
|
prosopopee preview
|
|
|
|
prosopopee deploy
|
|
|
|
prosopopee test
|
|
|
|
prosopopee (-h | --help)
|
|
|
|
prosopopee.py --version
|
|
|
|
|
2020-04-30 14:00:11 +02:00
|
|
|
Before of course we need to actiate venv (after installation):
|
|
|
|
|
|
|
|
. .venv/bin/activate
|
|
|
|
|
2020-02-03 20:15:41 +01:00
|
|
|
See:
|
|
|
|
|
|
|
|
https://github.com/Psycojoker/prosopopee
|
|
|
|
|
2020-04-30 14:00:11 +02:00
|
|
|
Install using venv
|
|
|
|
------------------
|
2020-02-03 20:15:41 +01:00
|
|
|
|
|
|
|
python3 -m venv <DIR>
|
|
|
|
source <DIR>/bin/activate
|
|
|
|
|
2020-02-05 23:39:11 +01:00
|
|
|
python -m ensurepip --default-pip
|
|
|
|
pip install prosopopee # does not work for me, but adds dependencies
|
|
|
|
|
|
|
|
git clone <url-of-prosopopee>
|
|
|
|
cd <path-to-prosopopee>
|
|
|
|
#Based on http://cerfacs.fr/coop/python3_doc/pip_install/
|
|
|
|
pip install . # this installs it well
|
|
|
|
# might add dependency by installing the dependencies txt file too!
|
|
|
|
|
2024-09-09 13:47:17 +02:00
|
|
|
# Was needed because later jinja is not compatible with old prosopopee codes..
|
|
|
|
pip install --upgrade jinja2==3.0.2
|
|
|
|
|
2020-02-03 20:15:41 +01:00
|
|
|
This is needed for locally installing the stuff. Maybe that way one can install manually too using the setup.py (see manuals online)
|