Testing Cactus
Closed this issue · 1 comments
Hey @Ostera, nice work. Thanks you for sharing this.
I tried this and seems to do what it says its supposed to do. A few questions.
Here is the demo: https://github.com/idkjs/cactus-example.
Running now
from the _public
dir seems to work. Deployed here: https://public-hfxpuofntn.now.sh. Is there a way to generate an index page?
Also, running gh-pages -d _public
doesn't seem to do anything though it creates the repo branch. Is there a particular set up to get something to render?
Tell you what, you were serious when you said it ridiculously simple. Thanks again.
Hej! I love how you used it with now
. You should totally do a PR to this repo showcasing how to deploy with it.
Not sure at all about what gh-pages
does, but if you'd like to set up GH Pages you can change the output directory of cactus
to be docs
and then configure your repo to serve the pages from there (it's one of the hardcoded options they offer).
Regarding the generation of an index, this is not currently automated — you have to write an index.md
file and a site
at the top of your project. This means that you have to maintain that Index manually.
However, I'm looking into ways of supporting generating files and more general templating.