detailled the readme file for the process of updating the website

master
Guillaume Slizewicz 3 years ago
parent 567cad609b
commit dc121f393d

@ -12,15 +12,34 @@ $ pip install -r requirements.txt
# start website locally # start website locally
$ pelican -lr $ pelican -lr
or or
$ make devserver $ make devserver
# Open http://localhost:8000/ Open http://localhost:8000/ to check the state of the website
# Make a change # 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 # 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 # website is saved in output folder, this is the map that goes to the server
# copy using rsync # copy using rsync
$ make rsync_upload $ make rsync_upload

Loading…
Cancel
Save