Skip to content

Site

This page provides information about the Site service in Mercury Core, including its functionality, features, and how it integrates with other services.

A development server can be started with bun dev. This will start the server in development mode (by default on port 5173), enabling features like hot-reloading for easier development.
For a production preview, run bun run build followed by bun preview. This will start a production preview server (by default on port 4173).
For a full production deployment, run bun run build followed by bun -b ./build. The server will be started on the port specified in your .env file. We use port 4443, and if not specified the default is 3000, though this can be changed to any port you wish.

On successful startup, the Site will display output similar to the following:

Starting SurrealDB...
Starting Economy service (../Economy/Economy)...
connecting to database
reloaded surrealdb-2.3.10
██▙ ▟██ Started
███▙ ▟███ ▟████▙ ▗████▛▗█████▌██ ██ ▟████▙▝█▙ ▗█▛
██▝█▙▟█▘██▐█▌ ▐█▌██▘ ██▘ ██ ██▐█▛ ▝█▙ ▗█▛
██ ▝██▘ ██▐█████▛ ██ ██ ██ ██▐█▌ ▝█▙▗█▛
██ ██▐█▌ ██ ██▖ ██▖ ▗██▐█▌ ▝██▛
▛▀ ▜█ ▜████▛ ██ ▝█████▙▝█████▘▐█▌ ▗█▛
▗██████▛ ▗█▛
██▘ ▗█████▖ ▟████▛▗█████▖ ▗█▛
██ ██ ██▐█▛ ██ ██ Self-hostable MMO
██ ██ ██▐█▌ ██████▘ game creation platform:
██▖ ██ ██▐█▌ ██ Build-your-own-Roblox
▝█████▙▝█████▘▐█▌ ▝█████▘
Successfully loaded configuration file