Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
kilemensi committed Jun 21, 2024
1 parent 27a482c commit cd3fc4b
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 14 deletions.
4 changes: 2 additions & 2 deletions apps/charterafrica/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This is the official code for https://charter.africa site
First create `.env.local` file in the root directory of the project.

```bash
cp env.template .env.local
cp env.template .env.local
```

and modify the `.env.local` file according to your needs.
Expand Down Expand Up @@ -37,7 +37,7 @@ make mongodb
Then run the development server:

```bash
pnpm dev
pnpm dev
```

## Debugging
Expand Down
4 changes: 4 additions & 0 deletions apps/codeforafrica/.env
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ NEXT_PUBLIC_VERCEL_URL=${VERCEL_URL}
NEXT_PUBLIC_APP_DIRECTORY="apps/codeforafrica/"
NEXT_PUBLIC_GOOGLE_ANALYTICS_ID="G-QVY4THBKNT"
MIGRATIONS_DIR=./migrations

SENTRY_ENV=local
SENTRY_ORG=code-for-africa
SENTRY_PROJECT=codeforafrica
4 changes: 2 additions & 2 deletions apps/codeforafrica/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This is the official cfa site
First create `.env.local` file in the root directory of the project.

```bash
cp env.template .env.local
cp env.template .env.local
```

and modify the `.env.local` file according to your needs.
Expand All @@ -19,7 +19,7 @@ The default `.env` file is for the 'Publicly' visible environment variables.
Then run the development server:

```bash
pnpm dev
pnpm dev
```

## Debugging
Expand Down
8 changes: 7 additions & 1 deletion apps/codeforafrica/env.template
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,14 @@ PAYLOAD_PUBLIC_PORT=3010
PAYLOAD_SECRET=randomsecretkeythatyougenerateherethisisjustanexample
MONGODB_URL=mongodb://root:rootpassword@localhost:27017/codeforafrica?authSource=admin

#S3
# S3
S3_ACCESS_KEY_ID=
S3_SECRET_ACCESS_KEY=
S3_ACCESS_KEY_ID=

# Sentry
NEXT_PUBLIC_SENTRY_DSN=
SENTRY_AUTH_TOKEN=
SENTRY_ENV=
SENTRY_ORG=
SENTRY_PROJECT=
1 change: 0 additions & 1 deletion apps/promisetracker/.env
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ NEXT_PUBLIC_APP_URL="http://localhost:3001"
NEXT_PUBLIC_IMAGE_DOMAINS="dashboard.hurumap.org,res.cloudinary.com"
NEXT_PUBLIC_IMAGE_UNOPTIMIZED="true"


SENTRY_URL=https://sentry.io/
SENTRY_ORG=code-for-africa
SENTRY_PROJECT=promisetracker
Expand Down
8 changes: 4 additions & 4 deletions apps/promisetracker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ PromiseTracker is a SSG [Next](https://nextjs.org/) web app deployable to [Verce
Run the following to get started locally:

```sh
cp .env.template .env
# Edit the .env file
yarn
yarn dev
cp .env.template .env
# Edit the .env file
yarn
yarn dev
```

**Note:** Reach out to the project champion for directions on how to receive the [Check](https://checkmedia.org) and [Sentry](https://sentry.io) tokens
Expand Down
8 changes: 4 additions & 4 deletions apps/vpnmanager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This is the cfa Outline VPN Manager
First create `.env.local` file in the root directory of the project.

```bash
cp env.template .env.local
cp env.template .env.local
```

and modify the `.env.local` file according to your needs.
Expand All @@ -21,21 +21,21 @@ The default `.env` file is for the 'Publicly' visible environment variables.
## Script

```bash
pnpm process-new-hires
pnpm process-new-hires
```

## Web

Run the development server:

```bash
pnpm dev
pnpm dev
```

### Deployment.

```bash
docker-compose up --build vpnmanager
docker-compose up --build vpnmanager
```

or
Expand Down

0 comments on commit cd3fc4b

Please sign in to comment.