Commit d006abec authored by Jan Moringen's avatar Jan Moringen
Browse files

README: describe how to test changes locally

parent faee8de3
......@@ -61,6 +61,28 @@ Smaller files which belong to the repository should be added to the
which is listed in `.gitignore` and reserved for big files on the host
system.
### Testing changes locally ###
To test changes locally, change the relevant lines of `.coleslawrc` to
something like:
```lisp
:staging-dir "/tmp/mcclim-website/staging"
:deploy-dir "/tmp/mcclim-webstie/public_html"
```
then load the `coleslaw` system and call its `main` function:
```lisp
(ql:quickload :coleslaw)
(coleslaw:main "PATH-TO-MCCLIM-WEBSITE-REPOSITORY" :deploy nil)
```
This will put the generated website in the
`/tmp/mcclim-website/staging` directory (or whichever directory you
configured). Note that links in the generated files still refer to the
online version of the website.
### Deployment ###
After modifying the website, commit the change and push it to the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment