This is a Next.js project bootstrapped with create-next-app.
First, run the development server:
# install dependencies yarn # start dev server yarn devOpen http://localhost:3000 with your browser to see the result.
# build docker image yarn docker # Google Analytics ID NEXT_PUBLIC_GOOGLE_ANALYTICS= # Backend api endpoint API_URL= # URL of this site NEXTAUTH_URL= # Auth secret NEXTAUTH_SECRET= # Github OAuth GITHUB_ID= GITHUB_SECRET= # Gitee OAuth GITEE_ID= GITEE_SECRET= docker run -p 3000:3000 --env-file .env compass-web:0.1.0