Skip to content

EdgarLux/dtorg

 
 

Repository files navigation

darktable Website

This repository holds the Pelican source code of the darktable.org website. Help improving the website by submitting pull-requests.

The website is a static site, pre-generated from source files using Pelican(Python).

Tools

Pelican uses Python. The site is currently built using:

$ python --version
Python 2.7.13

$ pelican --version
3.6.3

$ markdown_py --version
markdown_py 2.6.6

Additionally, some extra modules should be available:

  • PIL/pillow
    $ pip install pillow
  • python-twitter
    $ pip install python-twitter
  • BeautifulSoup
    $ pip install bs4
  • Typogrify
    $ pip install typogrify

Getting Started

It's generally good practice to use a virtual environment:

$ virtualenv2 env/
$ source env/bin/activate
$ pip install -r requirements.txt

To build the site:

$ pelican -s pelicanconf.py

The entire site will then be available in the output directory. If you don't already have SimpleHTTPServer install it:

$ pip install SimpleHTTPServer

To serve the site via HTTP, launch:

$ cd output/ && python2 -m SimpleHTTPServer 8000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 35.7%
  • Python 28.9%
  • JavaScript 18.0%
  • CSS 13.9%
  • PHP 2.4%
  • Shell 1.1%