Browse Source

Run auto-format

master
decentral1se 3 years ago
parent
commit
d40fc454b5
No known key found for this signature in database GPG Key ID: 92DAD76BD9567B8A
  1. 12
      README.md

12
README.md

@ -50,10 +50,10 @@ Then the site is available at the following URL:
## Working with the site
* Website articles and content are in [content](./content)
* The website theme is in [themes/homebrewtheme](./themes/homebrewtheme)
* Images are stored in [content/images](./content/images)
* Configs are stored in [content/downloads](./content/downloads)
- Website articles and content are in [content](./content)
- The website theme is in [themes/homebrewtheme](./themes/homebrewtheme)
- Images are stored in [content/images](./content/images)
- Configs are stored in [content/downloads](./content/downloads)
While working on the site, you can run the following:
@ -77,7 +77,7 @@ $ git push origin master
Details for maintaining the hook on the Varia server are:
* We have cloned the site in `/srv/gitea/clones/homebrewserver.club`
* We have create a hook deployment script in `/srv/gitea/gitea-repositories/varia/homebrewserver.club.git/hooks/post-update`
- We have cloned the site in `/srv/gitea/clones/homebrewserver.club`
- We have create a hook deployment script in `/srv/gitea/gitea-repositories/varia/homebrewserver.club.git/hooks/post-update`
How it works: when someone runs a `git push origin master`, the script in the `post-update` will run after the updating is finished. In this script, we run all the steps to publish the site as per usual. Such as running `pip install -r requirements.txt` and `pelican` to generate the new output.

Loading…
Cancel
Save