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.
 
 
 
 
Gijs 5ad105169d Merge branch 'master' of gitlab.constantvzw.org:anais_berck/algoliterarypublishing.net 3 years ago
content Moved research questions to research axes, started todo, added alt-texts to images. 3 years ago
theme Moved research questions to research axes, started todo, added alt-texts to images. 3 years ago
.gitignore Base structure for pelican in the repo. 3 years ago
Makefile Mobile styles. Settings for publishing. Updated readme. 3 years ago
README.md Merge branch 'master' of gitlab.constantvzw.org:anais_berck/algoliterarypublishing.net 3 years ago
about.html added links to text 3 years ago
algoliterary_filters.py Forgot file? 3 years ago
pelicanconf.py Started categories on Algoliterary Works and activities. 3 years ago
publishconf.py Mobile styles. Settings for publishing. Updated readme. 3 years ago
requirements.txt added markdown to requirements.txt 3 years ago
tasks.py Base structure for pelican in the repo. 3 years ago
to-do.md Moved research questions to research axes, started todo, added alt-texts to images. 3 years ago

README.md

How to install Pelican

clone repository

""" git clone https://gitlab.constantvzw.org/anais_berck/algoliterarypublishing.net.git """

create virtual environment with venv

""" python3 -m venv name_environment """

activate the virtual environment

""" source name_environment/bin/activate """

go to algoliterarypublishing.net folder

""" pip install -r requirements.txt """

start website locally

""" pelican -lr """

or

""" make devserver """

Open http://localhost:8000/ to check the state of the website

Make a change

Create a markdown file or change an existing file and save it.

Open http://localhost:8000/ to check the new state of the website

Push changes to git

Check which files you changed $ git status

Stage your changes

$ git add [name of file]

$ git commit -m " [comment that make it understandable what you just did (commit comments are poetry)]"

Push them to the repository

$ git push

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