cryogen-project / cryogen-project/cryogen

Should docs explain hosting on s3?

Open
#179 2 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
HTML
Stars
1.1k
Forks
93
PR merge metrics
No merged PRs in 30d

Description

Thanks a lot for cryogen!

In order to get a cryogen site hosted as a static s3 site, I needed to make a couple configuration changes. Perhaps there should be a dedicated page in the docs for that? If you'd like a PR for that I'll provide it, but the gist of it is just:

In config.edn:
- set `:blog-prefix` to "/"
- set `:clean-urls` to false

Then copy resources/public/ to s3. With aws cli, that's
``` bash
aws s3 cp /PATH/TO/resources/public/ s3://BUCKET/ --recursive
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.