You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
749 B
Markdown

3 years ago
# How to install Pelican
3 years ago
3 years ago
# clone repository
"""
git clone https://gitlab.constantvzw.org/anais_berck/algoliterarypublishing.net.git
"""
3 years ago
# create virtual environment with venv
"""
python3 -m venv name_environment
"""
# activate the virtual environment
"""
source name_environment/bin/activate
"""
3 years ago
# go to algoliterarypublishing.net folder
"""
pip install -r requirements.txt
"""
3 years ago
# start website locally
"""
pelican -lr
"""
or
"""
make devserver
"""
3 years ago
# Open http://localhost:8000/
# Make a change
# Push changes to git
# website is saved in output folder, this is the map that goes to the server
# copy using rsync
"""
make rsync_upload
"""
generates website and puts files in output folder, and transfers them to server using the right urls