The website for the Norman Sicily Project
To build the website you need to have the following tools installed:
The site uses the Hamburg theme.
The site uses Mapbox for the map tiles. To specify a Mapbox API Key set the MAPBOX_APIKEY
environment variable before running the build script.
To build the site run build.sh
from the repository root:
$ ./scripts/build.sh
The script will clean directories, install the theme, clone subprojects and build them. The result can be found in the dist
directory.
By default, the site will build in "production" mode with a base URL of http://www.normansicily.org/
. To build in "development" mode with a base URL of http://localhost:8080/
, pass development
as a command line argument:
$ ./scripts/build.sh development
After building in development mode, run a static web server from the dist
directory. For example, you can use python's SimpleHTTPServer.
$ python -m SimpleHTTPServer 8080
After building the site, deploy the contents of the dist
directory.
The MIT License (MIT)
Copyright (c) 2020 Joseph P. Hayes and Dawn Marie Hayes