forked from ilot/ilot-io
README: add instructions better local testing
This commit is contained in:
parent
de53de24f5
commit
7de5b4bd77
1 changed files with 6 additions and 0 deletions
|
@ -30,6 +30,12 @@ To work locally with this project, you'll have to follow the steps below:
|
||||||
1. Generate the website: `ikiwiki --setup ikiwiki.setup`
|
1. Generate the website: `ikiwiki --setup ikiwiki.setup`
|
||||||
1. Preview your project: open `public/index.html` in a browser
|
1. Preview your project: open `public/index.html` in a browser
|
||||||
|
|
||||||
|
Note that the link to certain objects (like images, css) will be broken
|
||||||
|
when testing locally. To test a specific page, please add
|
||||||
|
`<base href="/full/path/to/public" />` at the top of the html file
|
||||||
|
that you want to preview. You may have to adjust absolute links
|
||||||
|
to point to relative links (i.e, make `/` into `./`).
|
||||||
|
|
||||||
Read more at ikiwiki's [documentation][].
|
Read more at ikiwiki's [documentation][].
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
Loading…
Add table
Reference in a new issue