Skip to content

Latest commit

 

History

History

charterafrica

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Charter Africa

This is the official code for https://charter.africa site

Getting Started

First create .env.local file in the root directory of the project.

cp env.template .env.local

and modify the .env.local file according to your needs.

Note

The default .env file is for the publicly visible environment variables. DO NOT include any secrets in it. All secrets should go into env.local. For more, see NextJS env var docs here.

Database setup

Generate a new MongoDB keyfile by running the following command: NB: Run this command on the root directory

make mongodb-keyfile

Start the database server: NB: Run this command on the root directory

make mongodb

Then run the development server:

pnpm dev

Debugging

Chrome DevTools debugging is enabled by default for both client-side and server-side code. See Next.js docs for more information.