GithubHelp home page GithubHelp logo

talisein / ledger-website Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jwiegley/ledger-website

1.0 3.0 0.0 124 KB

The public website for the ledger command-line accounting tool.

Home Page: http://ledger-cli.org

ledger-website's Introduction

About the site

This is the website for ledger, the command-line accounting tool.

Commits to the ledger-website repo are applied immediately to ledger-cli-org (and announced on #ledger). You can get commit access by asking.

The main site is static html pages rendered with pandoc and make. site.tmpl is the pandoc template defining layout for the main site. To preview changes locally before committing, install pandoc, run make, and browse index.html.

Version-specific documentation is pulled from the main ledger repo and has urls like ledger-cli.org/3.0/....

Site config that's not kept in the repo:

Apache vhost:

<VirtualHost *>
  ServerName ledger-cli.org
  ServerAlias www.ledger-cli.org mail.ledger-cli.org
  RewriteEngine on
  RewriteRule ^(.*) /repos/ledger-website$1 [L]
</VirtualHost>

Angel (daemon manager) config:

# listen for github post-receive notifications, pull latest site
[ledger-website-listener]
directory  /repos/ledger-website
stdout     /repos/ledger-website/github-listener.log
stderr     /repos/ledger-website/github-listener.log
exec       github-listener.py 8080 'sudo -u simon git pull && make'
delay      1

Cron rules:

# pull latest ledger docs
*/15 * * * * simon  cd /repos/ledger;         git pull -q && cd doc && make --quiet
*/15 * * * * simon  cd /repos/ledger2.6;      git pull -q && make --quiet
# pull latest site, fallback in case github listener not running
*/15 * * * * simon  cd /repos/ledger-website; git pull -q && make --quiet

ledger-website's People

Contributors

afh avatar arademaker avatar greenskeleton avatar jwiegley avatar mbudde avatar pesco avatar petdr avatar sebnow avatar sigi avatar simonmichael avatar tangentstorm avatar xaviershay avatar

Stargazers

 avatar

Watchers

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