This repository contains the code of the Fusion platform
It is a Next.js project bootstrapped with create-next-app
.
# the graphql endpoint url
NEXT_PUBLIC_GRAPHQL_ENDPOINT=https://server-example.com/graphql
# environment name
# possible values: development | staging | production
NEXT_PUBLIC_ENVIRONMENT=development
# base url of the site (without trailing slash)
NEXT_PUBLIC_BASE_URL=https://expenses.makerdao.network
# if the sitemap is active or not (true | false)
ENABLE_SITEMAP=true
# Google tag tracking code if it is used
NEXT_PUBLIC_GA_TRACKING_ID=G-XXXXXXXX
# not required, used for the storybook-figma integration plugin
STORYBOOK_FIGMA_ACCESS_TOKEN=XXXX
# configurable data
NEXT_PUBLIC_CONNECT="https://xxx.com"
Open http://localhost:3000 to view it in the browser.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Run yarn build
In order to build/run the project using Docker, you should:
- Create the
.env
file (see the.env.example
file) - Build the images:
docker compose build
- Run the image:
docker compose up
ordocker compose up -d
to run the images in detached mode
If you don't want to use docker compose
you can:
- Build the image:
docker build -t fusion .
- Run the image:
docker run -p 3000:3000 fusion
Open http://localhost:3000 with your browser to see the result.