Coder Social home page Coder Social logo

grimpunch / pyconuk.org Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pyconuk/2015.pyconuk.org

0.0 2.0 0.0 3.95 MB

Source for PyCon UK website

Home Page: http://www.pyconuk.org/

License: MIT License

Makefile 0.49% HTML 62.56% Shell 2.38% Python 19.02% CSS 15.56%

pyconuk.org's Introduction

PyCon UK website

image

This is the website for PyCon UK. It is hosted via GitHub Pages and available via http://pyconuk.org/.

We welcome pull requests for improvements! (Please see CONTRIBUTING.rst for details.)

Use the following process to submit changes:

  • Fork the repository.
  • Create a descriptive branch name for the change you are proposing.
  • Make your changes and test that nothing is broken, as described below.
  • Push your changes in your local branch back to your remote GitHub repository.
  • In GitHub, create a pull request from your branch against our upstream repository.
  • Someone (not you) will check the change and either merge it (thus automatically updating the website) or add comments for further changes or a reason for rejection.

If you're not a coder please feel free to create issues here: https://github.com/PyconUK/pyconuk.org/issues

That's it!

:-)

Development

This site uses wok. To install wok and other dendencies, run pip install -r requirements.txt.

wok builds the site by assembling several components:

  • Pages are found in content/. Pages may be HTML, Markdown or reStructuredText, and contain some YAML metadata.
  • Static files are found in media/.
  • A jinja2 template for all the pages is found in templates/default.html

To build the site, run make build. This will pull together all the componenents into a set of HTML files in output/.

Windows users: you need to run the (extensionless) wok script in c:/pythonxx/scripts. eg py -2 c:\python27\scripts\wok.

Alternatively, if you run make serve, wok will build the site, serve the built site on port 8000, and watch for changes.

Windows users: you need to run the (extensionless) wok script with the --serve parameter in c:/pythonxx/scripts. eg py -2 c:\python27\scripts\wok --serve.

You can test that the site contains no broken links and that the conference name is capitalised correctly (hint, it's "PyCon UK") by running make test.

Travis will test branches, and branches won't get merged without review and passing tests, so dive right in!

Deployment

The site is hosted as a Project Page on GitHub Pages, and so it is the gh-pages branch of the repository that gets served. wok generates the site in the output/ directory, and Travis is configured to push any changes to the output/ directory to this branch. See deploy.sh for details.

This should be done automatically by Travis after it has built the master branch, but in case this does not happen, somebody with commit access to the repository can run make deploy.

pyconuk.org's People

Contributors

1stvamp avatar bjarnirunar avatar doismellburning avatar drmaciver avatar evildmp avatar geekfish avatar ghickman avatar girishkumarkh avatar gmarkall avatar hawkz avatar hobthross avatar inglesp avatar jamesbroadhead avatar lordmauve avatar lukestanley avatar lurimax-north avatar meatballs avatar moreati avatar nanuxbe avatar nceder avatar ntoll avatar oinopion avatar rob-smallshire avatar rwillmer avatar snim2 avatar sparkslabs avatar tjguk avatar tomviner avatar wjt avatar zeth avatar

Watchers

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