/loom-web

Primary LanguageTypeScriptApache License 2.0Apache-2.0

loom-web

A web interface for the loom bot.

Requirements

  • Archive node
  • Postgresql

Setup

  1. Clone the repository:
    git clone

backend

  1. Build the backend:
    make
  2. Configure loom: Create config-topology-remote.toml in root and set env DATA=<your encrypted PK>. See https://github.com/dexloom/loom
  3. Copy the .env.example file to .env and set the database URL. Then run migrations:
    cd crates/loom-user
    diesel migration run
  4. Run the backend:
    ./target/debug/loom-web
    Note: You can specify a different configuration file with the --config flag or enable --exex for direct db access (currently not tested well).

UI

  1. Install the dependencies:
    cd loom-web-ui
    npm install
    npm run generate-client
    Note: Server must be running to generate the client.
  2. Run the development server:
    npm run dev
  3. Open the browser and navigate to http://localhost:3000 and login with admin@admin.com and password admin.

Many thanks to