Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# GitHub syntax highlighting
pixi.lock linguist-language=YAML linguist-generated=true
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -227,4 +227,9 @@ Temporary Items
.history/

www/
.idea/

# pixi environments
.pixi

# package meta data
*.egg-info
25 changes: 18 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
Python Softwareverband Website
================================
# Python Softwareverband Website

## Install

Expand Down Expand Up @@ -34,31 +33,43 @@ pip install --force-reinstall MarkupSafe==2.0.1
cd website
lektor server

The local website is run on
The local website is run on
[http://localhost:5000](http://localhost:5000)

### Pixi

Alternatively use Pixi:

pixi run local-server


## Build Static Site

The rendered page is saveto to the www dirctory which is excluded from VC, make sure a www directory is available in project root.

cd website
lektor build --output-path ../www

### Pixi

Alternatively use Pixi:

pixi run build-static

## Adding more avatars
Create new avatars with the script below
The default avatar is defined in PySV-website.lektorproject


avatar_creator/create_avatar.py



## Publishing
The website is hosted on S3, www/* needs to be uploaded to S3, requires access tokens.
The website is hosted on S3, www/* needs to be uploaded to S3, requires access tokens.

AWS Credentials are stored in the GitHub Secrets of this repository:
* AWS_ACCESS_KEY_ID
* AWS_ACCESS_KEY_ID
* AWS_SECRET_ACCESS_KEY

### GitHub Actions
Expand Down
Loading