Skip to content

t5software/cardania-tools

Repository files navigation

cardania-tools

Enter an ADA address and see what Cardania Resources are missing.

See demo here

Support this project by donating to this Cardano address

addr1qy047pejncekqrqm8qu33hx3sjzpv4vh4lal3ud906qnn44a6vchc2wrqstx29vnzfe58swdae7jczh2hj6kam3nf5zs5gfhan

Setup

Using node v16

# set environment variable which is used in svelte build
export TARGET="dev"

# install dependencies
npm ci

# to run tests you'll need playwright
npx playwright install --with-deps

Developing

Start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

# or start on a different port i.e. 8080 for AWS Cloud9
npm run dev -- -p 8080

# linting and formatting are enabled
npm run lint
npm run format

Tests

You can run playwright tests with npm test

Building

To create a production version of your app:

npm run build

# preview the production build with
npm run preview

# or preview on a different port i.e. 8080 for AWS Cloud9
npm run preview -- -p 8080

CI/CD

This uses GitHub Actions to deploy to GitHub Pages. There are dev and prod environments:

This follows a concept from an article found here.

Checkout the .github\workflows folder.

About

Cardania Tools

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published