build: 178ms run: 2ms

Getting started

One good way to get started with devcards is to clone the devcard-examples repo and to tinker with it. This guide describes the process step by step.

First, clone the repo:

git clone https://github.com/igorhub/devcard-examples

Second, install the devcards web app:

go install github.com/igorhub/devcard/cmd/devcards@latest

Now, cd into devcard-examples and start the app:

cd devcard-examples
devcards

Put your browser alongside your editor, and go to http://127.0.0.1:50051. Click devcard-examples and inspect the example cards one by one.

Note: on the first run, the app will suggest to create an initial config file. While not required, having a config file will open up some possibilities, such as remembering your projects or changing the color scheme.

prev: scratch | top: examples | next: Anatomy of a devcard