Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 1.23 KB

File metadata and controls

28 lines (16 loc) · 1.23 KB

software.wikimedia.de website

Build Status

This repo contains the resources of the software.wikimedia.de website.

The website uses the Silex PHP micro-framework. It requires PHP 7.0 or later.

Development

After cloning the repo, run composer install in the root directory.

For running the application, run php -S 0:8000 in web. No need to have a real server set up.

There are a few smoke tests that can be run with vendor/bin/phpunit

I'm a UX and allergic to PHP

The HTML can be found in app/templates. The Twig template engine is used.

  • layout.html contains the non-page-specific stuff such as menu, footer and JS/CSS loading
  • pages/ contains one file per page, matching URL structure (plus .html)
  • sections/ contains page sections used on multiple pages via the Twig include thing

Resources such as JS, CSS and images can be found in web/

The stuff is based on Twitter Bootstrap and uses structure borrowed from the Modern Business bootstrap template.