Skip to content
This repository was archived by the owner on Apr 30, 2021. It is now read-only.

Latest commit

 

History

History
24 lines (16 loc) · 512 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 512 Bytes

Parcello Example

You should start the application with the following command:

$ go run main.go

This example illustrates how to embed resource in Golang application. If you want to enable dev mode, which enables editing content on a fly, you should set the following environment variables before you start the application:

$ export PARCELLO_DEV_ENABLED=1
$ export PARCELLO_RESOURCE_DIR=./public

or use tools like direnv:

$ direnv allow