A web-based frontend for Ulterius Server. Written in Typescript using React, Alt and other assorted bits.
- Clone repo
npm install- Rename the
config.ts.examplefile in the src directory toconfig.ts. The options in it will affect your build, namelyautoConnectwhich should be either an object with ahostandportproperty that the client will automatically connect to, or justfalse; as well ascachePasswordwhich 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 buildand start up an http server in thepublicdirectory, or copy it wherever and do whatever you want with it. It should be perfectly static.
