Skip to content

Files

Latest commit

f1b2606 · Oct 31, 2019

History

History
This branch is 771 commits behind alfio-event/alf.io:master.

website

Alf.io website

This website uses

Getting started

Please follow Docsy's Getting Started guide in order to prepare your environment.

Since Docsy is included as a submodule, you have to make sure to clone also submodules. (don't forget to use --recurse-submodules or you won't pull down some of the code you need to generate a working site).

The hugo server command builds and serves the site. If you just want to build the site, run hugo instead.

git clone --recurse-submodules --depth 1 https://github.com/alfio-event/alf.io.git
cd alf.io/website
hugo server

The Docsy theme is included as a Git submodule:

▶ git submodule
 a053131a4ebf6a59e4e8834a42368e248d98c01d themes/docsy (heads/master)

If you want to do SCSS edits and want to publish these, you need to install PostCSS (not needed for hugo server):

npm install

Running the website locally

Once you've cloned the site repo, move to the website folder and run:

hugo server

This website is is a modified version of the great Docsy website example