v16 up
Look at the Nuxt 3 documentation to learn more.
Make sure to install the dependencies:
# npm
npm install
# pnpm
pnpm install --shamefully-hoistStart Docker Compose for local DB and S3
docker compose up -d
Set your local environment
export DATABASE_URL='postgresql://antlms-user:example@localhost:5432/antlms?schema=public&connection_limit=5'
Migrate the DB schema
npm run migrate
Start the development server on http://localhost:3000
npm run devFirebase console Login to firebase console using our domain account.
Firebase Configuration (.env) Below is an example of a .env.example file with Firebase configuration variables.
# Firebase config
FIREBASE_API_KEY=
FIREBASE_AUTH_DOMAIN=
FIREBASE_PROJECT_ID=
FIREBASE_STORAGE_BUCKET=
FIREBASE_MESSAGING_SENDER_ID=
FIREBASE_APP_ID=
FIREBASE_MEASUREMENT_ID=
FIREBASE_DATABASE_URL=
# Firebase admin
FIREBASE_ADMIN_CREDENTIALS=
Modify APPLICATION .env variable to be in development mode
APPLICATION='development'
Build the application for production:
npm run buildLocally preview production build:
npm run previewCheck out the deployment documentation for more information.