- Install (Docker)[https://www.docker.com/]
- From repo root run
docker-compose up
. This starts the Fedimint backend with two federation servers. - Open a new shell, and
cd apps/gaurdian-ui
. This folder is the setup UI for configuring a new federation. - Run
REACT_APP_FM_CONFIG_API="ws://127.0.0.1:18174" yarn dev
. This starts the UI connecting to the first federation server. - Run
REACT_APP_FM_CONFIG_API="ws://127.0.0.1:18184" yarn dev
. This starts the UI connecting to the second federation server. - To tear down, run
docker-compose down
This project includes the following apps / packages:
guardian-ui
: Web app experience for setting up and administering fedimints. This is used by the Fedimint guardiansgateway-ui
: Web app experience for managing Fedimint gateways. This is used by Gateway administrators
ui
: Shared React UI component library for building Fedimint UI experienceseslint-config
: Sharedeslint
configurations (includeseslint-plugin-react
andeslint-config-prettier
)tsconfig
: Sharedtsconfig.json
s used throughout Fedimint UI apps
From root repo directory:
yarn install
(First time only)yarn build
- You can run any of the following commands from repo root directory
yarn test
- Tests all apps and packages in the projectyarn build
- Build all apps and packages in the projectyarn clean
- Cleans previous build outputs from all apps and packages in the projectyarn format
- Fixes formatting in all apps and packages in the project
Alternatively, you can navigate to a specific app or package within fedimint-ui/
directory and run it's respective development commands
Using (mprocs)[https://github.com/pvolok/mprocs]
- (Install mprocs)[https://github.com/pvolok/mprocs#installation]
- Run
mprocs -c mprocs.yml
- This simulates the QuickStart start using mprocs