jaydenseric / svg-symbol-viewer

An online, no-upload drag-and-drop SVG file symbol extractor and viewer.
https://svgsymbolviewer.io
37 stars 5 forks source link
deno react svg typescript

SVG symbol viewer

An online, no-upload drag-and-drop SVG file symbol extractor and viewer: svgsymbolviewer.io.

Requirements

Installation

For a local development installation, create a project scripts/.env.sh file containing the following environment variables, with values customized for your local environment:

# Development or production mode; "true" or "false".
export RUCK_DEV="true"

# The localhost port to serve the Ruck app on.
export RUCK_PORT="3000"

Scripts

Dev

To load the environment variables from scripts/.env.sh and serve the Ruck app:

./scripts/dev.sh

Serve

To serve the Ruck app for either development or production (requires environment variables):

./scripts/serve.sh

Format

To format the project:

deno fmt

Lint

To lint the project:

deno lint