Skip to content

the-norman-sicily-project/website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Norman Sicily Project Website

The website for the Norman Sicily Project

Building the site

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

Running the development site

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

Deploying the site

After building the site, deploy the contents of the dist directory.

License

The MIT License (MIT)

Copyright (c) 2020 Joseph P. Hayes and Dawn Marie Hayes