timstallard.me.uk/README.md

17 lines
693 B
Markdown
Raw Normal View History

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:
1. Run `docpad clean` to remove dev files
2. Run `docpad generate --env=static`
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