Dungeons & Dragons Session Helper
Important It is a simple side project published only for sharing with friends. Do NOT expect any support or working system until at least v1.0.0 hits.
Current master demo is available at rpghelper.herokuapp.com
openssl
to generate ssl certificate$ rpg-helper -h
Usage: rpg-helper <command> [options]
Commands:
start start RPG Helper
start
--ssl-dir, --ssl directory with ssl certificate [string]
--database-dir, --db directory for storing database files [string]
--secret, -s long secret string for encryption purposes [string] [required]
--port, -p port on which server will be available [number] [default: 443]
Options:
--version, -v Show version number [boolean]
--help, -h Show help [boolean]
Examples:
rpg-helper start --db=./path/to/dir --ssl=./path/to/dir start RPG Helper storing database in the given directory,
--secret=SECRET-KEY with provided certificates
Copyright © 2017 Mateusz Kasprzak
cd ./sslcert
openssl genrsa 1024 > private.key
openssl req -new -key private.key -out cert.csr
openssl x509 -req -in cert.csr -signkey private.key -out certificate.pem
cp .env-sample .env
use default environmental variablesyarn build
build project for productionyarn start
start built projectyarn dev
start project in development mode (watch mode with auto reload)yarn full-publish