# Ridgway Systems website configuration # Copy to .env and fill in values. Never commit .env to version control. # ------------------------------------------------------------------ # Server # ------------------------------------------------------------------ # Port to listen on (default: 8080) PORT=8080 # Public URL of the site (no trailing slash) SITE_URL=https://ridgwaysystems.org # Path to content directory (default: content) CONTENT_DIR=content # Path to data directory containing status.json (default: data) DATA_DIR=data # Set to "1" to enable development mode (template reloading on each request) DEV=0 # ------------------------------------------------------------------ # Admin authentication # ------------------------------------------------------------------ # bcrypt hash of the admin password. # Generate with: htpasswd -bnBC 12 "" yourpassword | tr -d ':\n' # Or in Go: # import "golang.org/x/crypto/bcrypt" # hash, _ := bcrypt.GenerateFromPassword([]byte("yourpassword"), 12) # fmt.Println(string(hash)) ADMIN_PASSWORD_HASH=$2a$12$examplehashgoeshere... # Secret key for signing session cookies. Use a long random string. # Generate with: openssl rand -hex 32 SESSION_SECRET=change-me-use-openssl-rand-hex-32 # ------------------------------------------------------------------ # Contact / Hire form # ------------------------------------------------------------------ # Email address that receives hire form submissions. # Requires a working local MTA (OpenSMTPD) listening on localhost:25. CONTACT_EMAIL=hire@ridgwaysystems.org