Let this digital revival of a Victorian favourite be your guide to Britain and Ireland’s burgeoning railway network, as it existed in 1866.
git clone git@github.com:bradshawsguide/website.git
cd bradshawsguide
git submodule update --init --recursive
mkdir www/cache
npm start
Generated assets will be saved in the www
directory.
When developing the site, you may want assets automatically compiled and the browser to refresh automatically. To do this, run npm run dev
.
This project makes use of third-party libraries, included as git submodules. To update these, run git submodule foreach git pull origin master
.
To run with HTTPS locally on macOS first follow the setup steps described here. To create the required SSL certificates, follow these steps:
- Change into the correct directory:
cd etc/ssl
- Create the certificate files:
openssl req \
-new \
-newkey rsa:2048 \
-sha256 \
-days 3650 \
-nodes \
-x509 \
-keyout test.key \
-out test.crt \
-subj /CN=bradshaws.test \
-reqexts SAN \
-extensions SAN \
-config <(cat /System/Library/OpenSSL/openssl.cnf \
<(printf '[SAN]\nsubjectAltName=DNS:bradshaws.test'))
bradshawsguide
├── etc # CONFIGURATION
│ ├── nginx # Nginx server
│ └── (ssl) # SSL certificates (ignored by git)
│
├── src # SOURCE
│ ├── config # Kirby configuration
│ ├── [content] # Site content [submodule]
│ ├── controllers # Template controllers
│ ├── models # Page models
│ ├── [patterns] # Template patterns [submodule]
│ ├── plugins # Kirby plugins
│ ├── snippets # Template snippets
│ ├── tags # Kirbytext tags
│ └── templates # Templates
│
├── www # COMPILED/RUNTIME
│ ├── (assets) # Compiled assets (ignored by git)
│ ├── (cache) # Cache files (ignored by git)
│ ├── [kirby] # Kirby [submodule]
│ ├── (thumbs) # Thumbnail cache (ignored by git)
│ └── index.php # Kirby launch script
│
├── .editorconfig # Text editor preferences
├── .gitignore # List of files not tracked by git
├── .gitmodules # List of submodules tracked by git
├── gulpfile.js # Configuration file for Gulp
├── package-lock.json # Package lock file
├── package.json # Package manifest
├── LICENSE # Project license
└── readme.md # This file
© 2013 Paul Robert Lloyd