create conda environments: conda create -n env_name
get into the environment: conda activate env_name
install python and the dependencies:
conda install python=3.7
conda install -c conda-forge pelican
conda install markdown
go to the swportal folder you cloned:
pelican content -s pelicanconf.py
cd output
python -m pelican.server
the are some bugs with pelican --autoreload --listen
it will result in OSError: [WinError 87]
ref: getpelican/pelican#2400
so you can only compile website and depoly/publish through the command above now
create conda environments:
conda create -n env_nameget into the environment:
conda activate env_nameinstall python and the dependencies:
conda install python=3.7conda install -c conda-forge pelicanconda install markdowngo to the swportal folder you cloned:
pelican content -s pelicanconf.pycd outputpython -m pelican.serverthe are some bugs with
pelican --autoreload --listenit will result in OSError: [WinError 87]
ref: getpelican/pelican#2400
so you can only compile website and depoly/publish through the command above now