This project uses fresh and deno. You can get started here: https://fresh.deno.dev/docs/getting-started
To get the project up and running you will need some SVGS and some optional ENV variables for managing content through contentful.
- create a .env file at the root of the project with the following:
SPACE_ID=contentful-space-id
ACCESS_TOKEN=contentful-access-token
CONTENT_ENTRY=contentful-content-entry
- Then create a folder of SVGS in
./svg/
(still the root of the project). - run the
deno task process:drawings
to generate some json for the application.
Tip: It is good to include a title for use on naming each drawing. Though, it will fallback to the filename if no title is provided.
You can now run the app in development using deno task start
. For building the app for production use deno task build
.