Skip to content

CrommVardek/polk-auction-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c7051d3 · Jun 30, 2022

History

80 Commits
Jan 26, 2022
Jun 30, 2022
May 21, 2022
Jan 26, 2022
Jun 9, 2022
Oct 24, 2021
Oct 20, 2021
Jun 13, 2021
May 26, 2022
Jun 4, 2021
May 21, 2022
Dec 12, 2021
May 26, 2022
May 26, 2022
Jun 30, 2022
Dec 12, 2021
Jun 14, 2021
Jun 30, 2022

Repository files navigation

Apache 2.0 license

PolkAuction UI

User Interface for the PolkAuction core

Requirements

To be installed :

  • NodeJs

Once node.js is installed, install or upgrade yarn with the following command :

npm install --global yarn

Then install the packages with :

yarn

Build (with Docker)

docker build -t polk-auction-ui .

Run

Note: Polk-auction UI is requesting data from PolkAuction Core, refer to the link above for instructions to run it before running an instance of PolkAuction UI. You can also change the endpoint in the .env configuration file if your Polkauction Core instance's endpoint is different (i.e. you changed it).

Run Locally : yarn start

(Accessible at http://localhost:3000/)

Run with Docker : docker-compose up -d --build polk-auction-ui

(Accessible at http://localhost)

Test

Tests : yarn test

Configuration

In case the URL (IP and/or port) of the polk-auction-server has been changed (either directly or by forwarding URL), you need to adapt the POLK_AUCTION_ENDPOINT value in the .env.prod file

Contributions, issues and PR

We are open to contributions, ideas, issues, etc. Feel free to open a PR or an issue.

For both the issue and the PR, a context is necessary.