Git Product home page Git Product logo

2019.pycon.sk's Introduction

PyCon SK 2019 Website

Official PyCon SK 2019 website.

https://travis-ci.org/pyconsk/2019.pycon.sk.svg?branch=master

Contributing

Contributions are welcome. If you found a bug please open an issue at our GitHub repo, or submit a pull request. We do welcome any kind of pull request event if it is just a typo ;)

Project structure

1 branch:

  • master - the Flask app, templates, static files, translations (make your changes here)

Installation

Translations

Translations are made with Flask-Babel. All translations are located in translations directory, update messages.po with your translations messages.

  • collect translation strings from Flask app:

    pybabel extract -F babel.cfg -o messages.pot .
    
  • update translation messages.po files with collected translation strings:

    pybabel update -i messages.pot -d translations
    
  • compile translated messages and generate messages.po files:

    pybabel compile -d translations
    

Generate static site

Frozen-Flask freezes a Flask application into a set of static files. The result can be hosted without any server-side software other than a traditional web server.

  • generate static files, and you can find them in docs directory:

    python freezer.py
    
  • verify the generated result in browser (http://127.0.0.1:8000/en/index.html):

    cd docs
    python -m SimpleHTTPServer 8000
    

Continuous Deployment

Anything committed to master branch will be automatically deployed on live server. Live site contain only generated static site in docs directory.

Fonts

Embedded pyconsk font generated with Fontello and contain Font Awesome and Entypo icons.

Stylesheets

For grids and base layout we use Picnic CSS, our design is stored in pyconsk.css stylesheet. Both files are merged and minimized via YUI Compressor:

java -jar yuicompressor.jar stylesheet.css -o stylesheet.min.css

Links

License

  • MIT license for code (code - GitHub repo)
  • CC-BY for content, except sponsors logo's and speakers avatars (consult with particular party if you would like to use their logo or avatar)
  • SIL for embedded fonts

For more details read the LICENSE file.

2019.pycon.sk's People

Contributors

ricco386 avatar marekmansell avatar mreguly avatar imgbotapp avatar mimmon avatar marekmichalik avatar rakyi avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.