Skip to content

mimmon/pycon.sk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyCon SK and Slovak Python User Group Website

PyCon SK website, built with Flask from which static HTML is generated.

Contributing

If you'd like to contribute to the project, please check the issues to see what we are working on.

Project structure

3 branches:

  • master - the Flask app, templates, static files, translations (make your changes in the src folder)
  • staging - static HTML, generated from the app in master branch (do NOT edit anything in here)
  • live - static HTML, created by pushing the staging branch into live branch (do NOT edit anything in here)

Installation

  • clone repository locally:

    git clone git@github.com: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

Translations

  • collect messages for translation:

    make messages
  • files that need to be translated are generated into directory:

    translations/
  • compiling translated messages:

    make compile

Static site

  • generating staging site (updates the staging branch):

    make staging
  • update live site by pushing staging branch into the live branch:

    make live

Pull & Push

  • 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.

About

PyCon SK and Slovak Python User Group Website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 73.2%
  • Python 20.7%
  • CSS 3.6%
  • Shell 1.9%
  • Makefile 0.6%