Skip to content

thomasbromehead/website_en

 
 

Repository files navigation

Duniter website

Public site available at https://duniter.org/en

Reproduce it locally

You may want to reproduce this website locally, for developement purposes for example. Here are the instructions.

Clone the sources

git clone https://github.com/duniter/website.git

Install python stuff

cd website
virtualenv .
source bin/activate
pip install pelican pelican-youtube markdown beautifulsoup4

Install system dependencies for plantuml plugin (plantuml and GraphViz utilities) :

Generate the site

pelican

Serve it

./develop_server.sh restart 8557

The website should be available at http://localhost:8557.

Generate production site

You just need to give the production configuration file to Pelican:

pelican -s publishconf.py

You may want to change the production parameters, like the domain name: just edit publishconf.py and modify the SITEURL to whatever value you want.

For example if you want to host the site at https://my.website.org, set:

SITEURL = u'https://my.website.org'

Plantuml plugin documentation

About

Official International Website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 40.3%
  • HTML 30.6%
  • Python 15.7%
  • JavaScript 11.2%
  • Shell 1.0%
  • Haskell 0.9%
  • Makefile 0.3%