NextJS based Frontend Web UI App for the Maple project.
- NodeJS version 18.x and above: https://nodejs.org/en/download
- Yarn: https://www.npmjs.com/package/yarn
- Git: https://git-scm.com/downloads
# Check NodeJS is installed
$ node --version
# Check NPM is installed
$ npm --version
# Check Yarn is installed
$ yarn --version
# Check Git is installed
$ git --versionInstall Maple Frontend Web UI App
# Clone the project
$ git clone git@github.com:ResearchComputingServices/maple-frontend-web.git# Navigate to the project directory
$ cd maple-frontend-web
# Install node modules
$ yarn install# Navigate to the project directory
$ cd maple-frontend-web
# development
$ yarn run dev
# Create .env file and export following variables
NEXTAUTH_SECRET=<Secret Value String>
NEXTAUTH_URL=<URL of the Web App>
# Create .env.development or .env.production file depending upon the web app environment and export following variables
NEXT_PUBLIC_LOGIN_CODE=<CRYPTO SHA256 String>
NEXT_PUBLIC_PWD_CODE=<CRYPTO SHA256 String>