This repository contains the code for the interface (Front End)
Install yarn.
yarn install
cp .env.example .envThen modify your .env file to match with your environment.
To run in development mode
yarn devTo view components in isolation using Storybook
yarn storybookIt can be useful to reset the Storybook cache when some updates are not showing correctly
yarn storybook --no-manager-cacheyarn testWith coverage
yarn test:coverageRun your server
yarn dev --mode test
MARKETPLACE_COVERAGE=true yarn dev --mode test // Run with coverageThen run one of these commands
CYPRESS_BASE_URL=http://localhost:3000 yarn e2e
CYPRESS_BASE_URL=http://localhost:3000 yarn e2e:open // Open the UIyarn buildAnd to run in local your build.
yarn previewEach Pull Requet must target the develop branch. This way it will create a preview.
When a Pull Request is merged into develop, it is automatically deployed on the staging environment.
Then to deploy in production, some commands have to be executed.
Basically it consists to merge the develop branch into the main branch by forcing a fast forward merge.
Only project admins can do this
git checkout main
git fetch
git pull origin main
git merge --ff develop
git push origin mainYou can contribute by applying to some opened contributions of this project.
You can find those contributions on our platform => https://app.onlydust.xyz/projects/501233690
