This repository contains the code for the Smithed website and launcher, as well as our backend code
If you are looking for the Docker configuration that runs the backend, go here
The latest stable version of the launcher can be downloaded from the website
- Node.js - v18+
- Rust / Tauri (Only required for building the launcher)
- Clone the repo
git clone https://github.com/Smithed-MC/UX
- Go into the directory and install dependencies
cd ./UX
npm i
npm run web:dev
This will open a local development server with live reload.
Tip
In order to launch a server you must provide PORT
, VITE_NIGHTLY
& VITE_API_SERVER
environment variables.
Example:
VITE_NIGHTLY=true VITE_API_SERVER=https://api.smithed.dev/v2 PORT=8000 npm run web:dev
In order to test, you'll need to create your own firebase database and secret.
Afterwards, navigate to UX/platforms/api and create a .env
file and put your secret into a secret.json
file
Inside the .env
file:
CERT=./secret.json
PORT=8000
Then from the root UX
folder, you should be able to start the API like so
npm run api:dev