wuerfler

command module
v0.0.0-...-692271e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2024 License: Unlicense Imports: 7 Imported by: 0

README

WUERFLER

A small app to roll dices with your party. Inspiration taken from http://rolldicewithfriends.com/

Requirements

  • go
  • yarn

Building

(cd frontend && yarn)
make

This will result in a wuerfler binary and a frontend-build directory.

Running

sudo ./wuerfler # default port 80 so sudo required

There are a few environment variables to control wuerfler:

  • WUERFLER_PORT=80 HTTP Port
  • WUERFLER_SECUREPORT= HTTPS Port. Also needs WUERFLER_SECUREHOSTNAME
  • WUERFLER_SECUREHOSTNAME=example.com

Please note that wuerfler will try to find the frontend relative to its working directory. So make sure you add the working directory if you want to run it as a service.

Local development

WUERFLER_DEBUG=1 WUERFLER_PORT=3000 go run main.go

In a separate window:

cd frontend && yarn watch

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL