Skip to content

Commit

Permalink
Update org to ohcnetwork in all references (#509)
Browse files Browse the repository at this point in the history
  • Loading branch information
gigincg authored Aug 23, 2024
1 parent dcc24ba commit 84c50bf
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ NEXT_PUBLIC_ORG_NAME="ohc.network"
NEXT_PUBLIC_ORG_INFO="Open Healthcare Network is a free and open-source disaster management system that is used by National Health Mission, Government of India and various state governments for reimaging digital war rooms. The solution that students got an opportunity to intern with has supported 3.34Lac patient management and 1.29 Lac ambulance shiftings and is approved by the United Nations as a Digital Public Good."
NEXT_PUBLIC_ORG_LOGO="/logo.png"
NEXT_PUBLIC_ORG_URL= "https://ohc.network/"
NEXT_PUBLIC_GITHUB_ORG="coronasafe"
NEXT_PUBLIC_GITHUB_ORG="ohcnetwork"
NEXT_PUBLIC_SLACK_URL="https://slack.ohc.network"
NEXT_PUBLIC_ORG_START_DATE="2020-03-08"
NEXT_PUBLIC_TIMEZONE="Asia/Kolkata"
NEXT_PUBLIC_GITHUB_URL="https://github.com/coronasafe"
NEXT_PUBLIC_GITHUB_URL="https://github.com/ohcnetwork"
NEXT_PUBLIC_LINKEDIN_URL="https://www.linkedin.com/company/ohcn/"
NEXT_PUBLIC_YOUTUBE_URL="https://www.youtube.com/@ohc.network"
NEXT_PUBLIC_CONTACT_EMAIL="[email protected]"
Expand All @@ -24,9 +24,9 @@ NEXT_PUBLIC_CONTRIBUTORS_INFO=""
NEXT_PUBLIC_LEADERBOARD_DEFAULT_ROLES="core,intern,contributor"

## -- Data Source -- ##
DATA_SOURCE="https://github.com/coronasafe/leaderboard-data.git"
NEXT_PUBLIC_DATA_SOURCE="https://github.com/coronasafe/leaderboard-data.git"
NEXT_PUBLIC_FLAT_REPO_EXPLORER_URL="https://flatgithub.com/coronasafe/leaderboard-data"
DATA_SOURCE="https://github.com/ohcnetwork/leaderboard-data.git"
NEXT_PUBLIC_DATA_SOURCE="https://github.com/ohcnetwork/leaderboard-data.git"
NEXT_PUBLIC_FLAT_REPO_EXPLORER_URL="https://flatgithub.com/ohcnetwork/leaderboard-data"

## -- Slack -- ##
# SLACK_EOD_BOT_TOKEN=<Slack EOD Bot User's OAuth Token>
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/remind-and-post-eod-updates-to-slack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ jobs:
SLACK_EOD_BOT_TOKEN: ${{ secrets.SLACK_EOD_BOT_TOKEN }}
CONTRIBUTORS_DIR: "../../contributors"
steps:
- uses: actions/checkout@v4 # This pulls the caller workflow's repo (eg: coronasafe/leaderboard-data)
- uses: actions/checkout@v4 # This pulls the caller workflow's repo (eg: ohcnetwork/leaderboard-data)

- uses: actions/checkout@v4
with:
repository: coronasafe/leaderboard
repository: ohcnetwork/leaderboard
path: ./leaderboard
sparse-checkout: activities-bot

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/scraper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
name: Scrape data from GitHub and Slack
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4 # This pulls the caller workflow's repo (eg: coronasafe/leaderboard-data)
- uses: actions/checkout@v4 # This pulls the caller workflow's repo (eg: ohcnetwork/leaderboard-data)
with:
token: ${{ secrets.GIT_ACCESS_TOKEN }}
- uses: actions/checkout@v4
with:
repository: coronasafe/leaderboard
repository: ohcnetwork/leaderboard
path: ./leaderboard
ref: ${{ inputs.leaderboard_ref }}
sparse-checkout: |
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
A simple leaderboard app built with Next.js and Tailwind CSS to list the top contributors of a GitHub organization.

<img width="1822" alt="image" src="https://github.com/coronasafe/leaderboard/assets/25143503/6352a4cf-4b8b-4f80-b45c-6af323ee502e">
<img width="1822" alt="image" src="https://github.com/ohcnetwork/leaderboard/assets/25143503/6352a4cf-4b8b-4f80-b45c-6af323ee502e">

## Getting Started

Expand Down Expand Up @@ -88,7 +88,7 @@ You will be able to see the user's profile page at `http://localhost:3000/contri
1. To add or remove a badge, edit the `config/GraduateAttributes.ts` file.
2. To Setup the repo for a new org, update
the [scraper config](https://github.com/coronasafe/leaderboard/blob/060d88f1caf2190792beffaa464a2a48bfa6f2db/.github/workflows/scraper.yaml#L40) and update the `DATA_SOURCE` variable in the `.env` file to match the repo containing your organization data.
the [scraper config](https://github.com/ohcnetwork/leaderboard/blob/060d88f1caf2190792beffaa464a2a48bfa6f2db/.github/workflows/scraper.yaml#L40) and update the `DATA_SOURCE` variable in the `.env` file to match the repo containing your organization data.
3. To change the colors, fonts, or plugins edit the `tailwind.config.js` file.
Expand All @@ -101,9 +101,9 @@ You will be able to see the user's profile page at `http://localhost:3000/contri
| **NEXT_PUBLIC_ORG_LOGO** | Will be displayed in the footer. | /logo.webp | No |
| **NEXT_PUBLIC_META_TITLE** | Metadata title | Open Healthcare Network | No |
| **NEXT_PUBLIC_META_IMG** | Metadata img | /logo.webp | No |
| **NEXT_PUBLIC_META_DESCRIPTION** | Metadata description | OHC Network Leaderboard tracks the weekly progress of all coronasafe contributors. | No |
| **NEXT_PUBLIC_META_DESCRIPTION** | Metadata description | ohc.network Leaderboard tracks the weekly progress of all ohc.network contributors. | No |
| **NEXT_PUBLIC_META_URL** | Metadata url | https://leaderboard.ohc.network | No |
| **NEXT_PUBLIC_PAGE_TITLE** | Will be displayed in page title. | OHC Network Contributors | No |
| **NEXT_PUBLIC_CONTRIBUTORS_INFO** | Will be displayed next to "Our Contributors" section. You can use it to display a note about your contributors. | | Yes |
| **DATA_SOURCE** | Url for data repository | https://github.com/coronasafe/leaderboard-data.git | Yes |
| **DATA_SOURCE** | Url for data repository | https://github.com/ohcnetwork/leaderboard-data.git | Yes |
| **NEXT_PUBLIC_FEATURES** | These features will be displayed | Leaderboard,Contributors,Feed,Releases, | Yes |
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const nextConfig = {
hostname: "opengraph.githubassets.com",
},
// fix for crash if a path starts with period
// ref: https://github.com/coronasafe/leaderboard/pull/376
// ref: https://github.com/ohcnetwork/leaderboard/pull/376
{
protocol: "https",
hostname: "opengraph.githubassets.com",
Expand Down
2 changes: 1 addition & 1 deletion scripts/pullHistoricalGitHubActivities.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const token = process.env.GITHUB_TOKEN;

if (!org) {
throw Error(
"'GITHUB_ORG' environment needs to be set with a GitHub Organization (e.g.: 'coronasafe').",
"'GITHUB_ORG' environment needs to be set with a GitHub Organization (e.g.: 'ohcnetwork').",
);
}

Expand Down

0 comments on commit 84c50bf

Please sign in to comment.