bytedream c57e514613
All checks were successful
delpoy / build-and-deploy (push) Successful in 43s
show rules popup when accepting them on register
2023-09-26 22:42:25 +02:00
2023-08-26 13:46:51 +02:00
2023-08-27 23:33:22 +02:00
2023-08-29 00:43:15 +02:00
2023-08-29 00:43:15 +02:00
2023-08-27 23:33:22 +02:00
2023-08-29 00:43:15 +02:00
2023-08-27 23:33:22 +02:00

Quickstart

To run the website locally simply execute the following commands:

# install all dependencies
$ npm i
# run in development mode. this will start the dev server at localhost:5173
$ npm run dev

Building

To build the website for production, use the following command:

# install all dependencies
$ npm i
# build for production. will be available in the build/ directory
$ npm run build
# run the production build.
# this will start the server at 0.0.0.0:3000, you can customize this and various other behaviors by defining environment variables. see the configuration section below for more information
$ node build/index.js
# same as 'node build/index.js' above but this loads variables from a .env file into the environment
$ node -r dotenv/config build/index.js

Configuration

Configurations can be done with env variables

Name Description
HOST Host the server should listen on
PORT Port the server should listen on
DATABASE_URI URI to the database as a connection string. Supported databases are sqlite and mariadb
ADMIN_USER Name for the root admin user. The admin user won't be available if ADMIN_USER or ADMIN_PASSWORD is set
ADMIN_PASSWORD Password for the root admin user defined via ADMIN_USER. The admin user won't be available if ADMIN_USER or ADMIN_PASSWORD is set
PUBLIC_BASE_PATH If running the website on a sub-path, set this variable to the path so that assets etc. can find the correct location
PUBLIC_START_DATE The start date when the event starts
Description
No description provided
Readme 4 MiB
Languages
Svelte 62.2%
TypeScript 36.9%
JavaScript 0.5%
CSS 0.2%
HTML 0.2%