Skip to content

create env under Windows + Conda #32

@terrychan999

Description

@terrychan999

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

Metadata

Metadata

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions