Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.13 KB

README.md

File metadata and controls

46 lines (32 loc) · 1.13 KB

Website of the Smartcard-based Ticketing Terminal APIs by the Calypso Networks Association

Repository of the Ticketing Terminal APIs website project.

The Ticketing Terminal API website is generated with Hugo.

Getting started

Local installation

Install hugo extended on your machine. Install dependencies, build assets and start a webserver:

hugo server

Checkout http://localhost:1313/

Using docker

You can use the image "ext-alpine" from the project : https://github.com/klakegg/docker-hugo. An "ext" is needed image because it includes golang.

Launch a shell into hugo container from the root directory of this project

docker run --rm -it \
  -v $(pwd):/src \
    -p 1313:1313 \
  klakegg/hugo:ext-alpine \
  shell

Then run

hugo server --environment development

If you want to avoid downloading modules at each run, install them locally by running

hugo mod vendor

Related projects

Wowchemy theme for Hugo.