This is a Next.js project bootstrapped with create-next-app
.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 with your browser to see the result.
Create a .env
file in the root directory, then put this data:
# A long, secret value used to encrypt the session cookie
AUTH0_SECRET=''
# The base url of your application
AUTH0_BASE_URL=''
# The url of your Auth0 tenant domain
AUTH0_ISSUER_BASE_URL=''
# Your Auth0 application's Client ID
AUTH0_CLIENT_ID=''
# Your Auth0 application's Client Secret
AUTH0_CLIENT_SECRET=''
# Nom de la feuille qui sert à contenir les informations. Laisser vide pour prendre la première page par défaut.
GOOGLE_DOC_SHEET_NAME = ""
GOOGLE_DOC_ID = ""
GOOGLE_CLIENT_EMAIL = ""
GOOGLE_CLIENT_ID = ""
GOOGLE_CLIENT_PRIVATE_KEY = ""
#newrelic (monitoring) license key
NEW_RELIC_LICENSE_KEY = ""
# Links to GoogleSheets
CONTRIBUTE_URL = ""
DOCUMENTATION_URL = ""
You will need the gcloud
cli installed.
Log into the google cloud cli gcloud auth login
Run the following which will build and deploy the docker image.
npm run build
npm run docker-build
npm run gcp-push
Follow the instructions in this google doc to deploy the latest image