diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..5661508 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,5 @@ +name: Deploy + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./html diff --git a/README.md b/README.md index 5ab0693..b4921e6 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,25 @@ -# requirements -- run as a github site -- serve markdown and html pages -- active rholang text box like rgov -- rholang componants: fields, code, pragma? in rholang directory +# Requirements +- [ ] Run as a github site +- [x] Serve markdown and html pages +- [ ] Tell who we are +- [ ] Onboard and support cooperators + - How to participate (OC, discord, consider.it, github) + - Using rev (metamask, links to actions) +- [ ] Active rholang text box like rgov +- [ ] Rholang components: fields, code, pragma? in rholang directory +- [ ] On chain content +- [ ] Markdown macros - macrhobot integration +- [ ] Personal, group and global pages + +## Build +``` +yarn add cmark-gfm-js +yarn install + +node md2html.js pages/filr.md >html/file.html +``` +## Run +``` +node web.jw +``` +Browse to localhos:8080/?page=file