PyCon SK website, built with Flask from which static HTML is generated.
If you'd like to contribute to the project, please check the issues to see what we are working on.
3 branches:
master
- the Flask app, templates, static files, translations (make your changes in thesrc
folder)staging
- static HTML, generated from the app inmaster
branch (do NOT edit anything in here)live
- static HTML, created by pushing thestaging
branch intolive
branch (do NOT edit anything in here)
clone repository locally:
git clone [email protected]:pyconsk/pycon.sk.git cd pycon.sk/src
run initialization script (creates a virtual environment and installs all requirements):
make init
activate virtual environments:
source envs/bin/activate
start flask server, and you can view it in browser (http://127.0.0.1:5000):
python views.py
collect messages for translation:
make messages
files that need to be translated are generated into directory:
translations/
compiling translated messages:
make compile
generating staging site (updates the staging branch):
make staging
update live site by pushing staging branch into the live branch:
make live
update all branches from remote repository:
make pull
push all branches to remote repository:
make push
If you find some bug please do report it, or send us a merge request with a fix, thanks.
- web: https://pycon.sk
- facebook: https://facebook.com/pyconsk
- twitter: https://twitter.com/pyconsk
- slack: https://pyconsk.slack.com