make fmt
formats the codemake lints
does linter checks
this also wired to commit hooks
-
set the env var to e.g. renderer/test_snapshots/test-me
export ANYTYPE_LOCAL_PUBLISH_DIR=/home/zarkone/anytype/anytype-publish-renderer/test_snapshots/test-me
Run the client with this env and publish a page. Make suretest-me
was created withindex.json.gz
inside. -
in renderer, adjust Makefile SNAPSHOT_PATH accordingly:
SNAPSHOT_PATH:=./test_snapshots/test-me
-
make render
it will createindex.html
in renderer root. (make sure your~/go/bin
is in$PATH
) -
launch a static web server in renderer root:
cd /home/zarkone/anytype/anytype-publish-renderer/
python -m http.server 8011
- Open http://localhost:8011 in browser
export ANYTYPE_PUBLISH_CSS_DEBUG=y
Thank you for your desire to develop Anytype together!
❤️ This project and everyone involved in it is governed by the Code of Conduct.
🧑💻 Check out our contributing guide to learn about asking questions, creating issues, or submitting pull requests.
🫢 For security findings, please email [email protected] and refer to our security guide for more information.
🤝 Follow us on Github and join the Contributors Community.
Made by Any — a Swiss association 🇨🇭
Licensed under LICENSE NAME.