Draw snapshot diagrams with plain text
Open web/development.html, which includes dependencies from unpkg and generates a parser on the fly.
To build the production version (entry point web/production.html):
vagrant upto provision a VM with Node.jsnpm run buildto generatedist/main.js,dist/main.js.map,static/main.js, andstatic/main.js.map.
web/production.html is also available in development mode by running npm start. This continuously watches for code changes: each time you make a change to the code, all bundle files will recompile, and refreshing the page will load the new version.
web/production_noapp.html is also available for testing without the web app interface.
To deploy to a website, such as Athena: first run npm run build as described above. Then copy the following files to hosting location:
- All
.jsfiles instatic/,dist/ - All files in
docs/ web/production.html
Snapdown is now accessible at web/production.html.