-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document webserver deployment for #929 #932
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me just the __site__
to change for __site
but otherwise good, thank you!
docs/workflow/deploy.md
Outdated
|
||
## Deploying on an existing webserver | ||
|
||
The contents of the `__site__` folder can simply be deployed to a path on an existing server as follows. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
__site
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in eba6986
docs/workflow/deploy.md
Outdated
The contents of the `__site__` folder can simply be deployed to a path on an existing server as follows. | ||
Supposing you wish your site to appear at `http://my.example.com/path/to/my/franklin/site/`. You would take the following steps: | ||
|
||
* Prepare the `__site__` directory by running `optimize( prepath='/path/to/my/franklin/site/', minify = false )`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
idem
docs/workflow/deploy.md
Outdated
* Prepare the `__site__` directory by running `optimize( prepath='/path/to/my/franklin/site/', minify = false )`. | ||
Franklin.jl does not use relative links, so this step is needed to ensure that the links between site elements are correct. (The `minify = false` argument is optional but is currently recommended.) | ||
|
||
* Copy the contents of the `__site__` directory to the target location using your chosen method. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe here after method
you could add (e.g. using rsync)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in eba6986
Great, thanks! |
Here's a first go at this - please use / edit as needed.