📁 | .github |
📄 | .gitignore |
📄 | .npmrc |
📄 | README.md |
📄 | add-an-application.md |
📄 | index.js |
📄 | markdown.js |
📄 | package.json |
📁 | tmpl |
README.md
Scuttlebot.io
Source/assets for https://scuttlebot.io
Build
npm install
npm run build
Auto-build watcher:
npm run watch
Then point your server at ./build
to serve.
Build process
index.js will iterate ./tmpl
, run any templates, and copy output to ./build
.
Templates
Templates are .html.js
and .css.js
files in ./tmpl
.
Template files should export a single function, which outputs the html/css.
Partials
Partials are .part.js
files in ./tmpl
.
They are ignored by the build process.
Static assets
All other files are directly copied from ./tmpl
to ./build
.
Built with git-ssb-web