Our legacy frontend codebase is located in the rigly_frontend_javascript folder. The new Next.js app is located in auction-ui.
The plan is to gradually move over logic from the legacy codebase to the new codebase and then deprecate the legacy codebase.
The PRODUCTION app is hosted at rigly.io
The demo/test version of the app is hosted here -> QA
If you want to run Rigly auctions on your local machine you can follow these steps:
- Clone the repository
git clone https://github.com/RiglyCorp/rigly-auction.git
- cd into the new directory
cd rigly-auction
- run
yarnto install the packages - Add environment variables - create a
.envfile, you can copy the.env.example(reach out on slack to confirm your env looks good) - run
yarn run devand the app will be served onlocalhost:3000
You have two ways of running this project locally.
- Create an
.envfile in/auction-ui. Use the.env.exampleto get a sense of what env vars you need to set. Note you may need additional variables here for Auth0, api keys, etc. - In the root folder, run
docker compose up. This should start the Next.js dev server app on port3000. - Happy debugging!
You will need to install docker and possibly docker-compose.
- https://docs.docker.com/desktop/install/mac-install/
- brew install docker-compose
- then in the root folder, run
docker-compose up(note the hyphen)
- Create an
.envfile in/auction-ui. Use the.env.exampleto get a sense of what env vars you need to set. - Run
yarnoryarn installinside the/auction-uifolder. - Run
yarn dev. This should start the Next.jsj dev server on port3000. - Happy debugging!