2016-09-03 18:23:38 +01:00
|
|
|
# [timstallard.me.uk](https://timstallard.me.uk)
|
2016-01-07 10:25:27 +00:00
|
|
|
|
2016-09-03 18:23:38 +01:00
|
|
|
This is the code behind timstallard.me.uk, which is built using Docpad.
|
|
|
|
|
2016-09-03 18:35:16 +01:00
|
|
|
### To run:
|
2016-09-03 18:23:38 +01:00
|
|
|
1. You'll need Node and npm to be installed
|
|
|
|
2. Install dependencies, by running `npm i`
|
|
|
|
3. Automagically compile the site and run a web server using `docpad run`
|
|
|
|
(note: you'll need to use `docpad.cmd` on Windows, due to an bug, since a plain js docpad config file is being used, rather than coffeescript)
|
|
|
|
|
2016-09-03 18:35:16 +01:00
|
|
|
### To compile the site for deployment:
|
2016-10-21 16:56:21 +01:00
|
|
|
1. Run `docpad clean` to remove dev files
|
|
|
|
2. Run `docpad generate --env=static`
|
2016-10-30 22:21:13 +00:00
|
|
|
3. Copy contactsubmit/conf.example.php to contactsubmit/conf.php, and update options as required
|
2016-09-03 18:23:38 +01:00
|
|
|
|
|
|
|
© Tim Stallard 2016
|