Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.56 KB

File metadata and controls

46 lines (32 loc) · 1.56 KB

Functional Vilnius web

Build Status

This repo holds the sources of http://functionalvilnius.lt.

The website is built using Hakyll. It is automatically deployed after commits to the source branch are made.

How it works

The setup is a combination of this and this.

The default branch is source (not master!), which contains the website source. When you push to source, a Travis CI hook builds the website using Hakyll and pushes the artifacts to the master branch. See the .travis.yml config file for details.

Developing locally

To develop locally, first clone the repo and install the dependencies (i.e. Hakyll)

git clone https://github.com/functional-vilnius/functional-vilnius.github.io fv-web
cd fv-web
cabal sandbox init
cabal install

After you edit the website, just run

make

The generated web site will be in the folder _site/. You can also tell Hakyll to watch for edits live and serve the website by running

cabal run watch