Ulterius Client
A web-based frontend for Ulterius Server. Written in Typescript using React, Alt and other assorted bits.
Build Instructions
- Clone repo
npm install
- Rename the
config.ts.example
file in the src directory toconfig.ts
. The options in it will affect your build, namelyautoConnect
which should be either an object with ahost
andport
property that the client will automatically connect to, or justfalse
; as well ascachePassword
which if enabled, will automatically save your password and login on reconnect. There are two objects that are exported, one that's used for dev server builds, and another for production builds.- By default, production has
{cachePassword: false, autoConnect: false}
. - By default, dev has
{cachePassword: true, autoConnect: true}
.
- By default, production has
- To launch an auto-reloading dev server, use
npm run dev
, or to generate a production build,npm run build
and start up an http server in thepublic
directory, or copy it wherever and do whatever you want with it. It should be perfectly static.