-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #200 from ohcnetwork/master
Production merge
- Loading branch information
Showing
23 changed files
with
6,616 additions
and
5,594 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ NEXT_PUBLIC_API_URL="https://ayushma-api.ohc.network/api/" | |
NEXT_PUBLIC_AI_NAME="Ayushma" | ||
NEXT_PUBLIC_AI_DESCRIPTION="Ayushma - Revolutionizing Healthcare Delivery Through AI and Open Source" | ||
NEXT_PUBLIC_AI_WARNING="Please be aware that Ayushma AI may generate inaccurate information; kindly report any concerns to [email protected]" | ||
NEXT_PUBLIC_GOOGLE_RECAPTCHA_SITE_KEY="6Lerts4nAAAAAKyXaNZkYj4XfRO0M2R-XYIA3qv8" | ||
NEXT_PUBLIC_GOOGLE_RECAPTCHA_SITE_KEY="6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI" |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @ohcnetwork/code-reviewers @ohcnetwork/care-fe-code-reviewers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
yarn lint | ||
pnpm lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
<hr> | ||
<h3 align="center"><a href="https://ayushma-staging.ohc.network" target="_blank">🚀 Staging Deployment</a></h3> | ||
<p align="center"><img src="https://vercelbadge.vercel.app/api/coronasafe/ayushma_fe"></p> | ||
<p align="center">Auto deployed to <a href="https://ayushma.ohc.network">ayushma.ohc.in</a> for <code>production</code> branch. All pull requests have preview builds powered by <a href="https://vercel.com">Vercel</a>.</p> | ||
<p align="center">Auto deployed to <a href="https://ayushma.ohc.network">ayushma.ohc.network</a> for <code>production</code> branch. All pull requests have preview builds powered by <a href="https://vercel.com">Vercel</a>.</p> | ||
|
||
## Getting started | ||
|
||
|
@@ -22,13 +22,13 @@ | |
#### Install the required dependencies | ||
|
||
```sh | ||
yarn i-all | ||
pnpm i | ||
``` | ||
|
||
#### 🏃 Run the app in development mode | ||
|
||
```sh | ||
yarn dev | ||
pnpm dev | ||
``` | ||
|
||
Once the development server has started, open [localhost:3000](http://localhost:3000) in your browser. The page will be automatically reloaded when you make edits and save. You will also see any lint errors in the console. | ||
|
@@ -56,22 +56,22 @@ You can also register as a new user. | |
|
||
## 💎 Backend | ||
|
||
Ayushma's backend is built on Django. You can find documentation on the [Backend Repository](https://github.com/coronasafe/ayushma) | ||
Ayushma's backend is built on Django. You can find documentation on the [Backend Repository](https://github.com/ohcnetwork/ayushma) | ||
|
||
## 🚀 Production | ||
|
||
#### Build the app for production | ||
|
||
```sh | ||
yarn build | ||
pnpm build | ||
``` | ||
|
||
Builds the app for production to the `build` folder. It correctly bundles React in production mode and optimizes the build for the best performance. | ||
|
||
#### Start a production `http-server` | ||
|
||
```sh | ||
yarn start | ||
pnpm start | ||
``` | ||
|
||
Starts a production http-server in local to run the project with Service worker. | ||
|
@@ -85,19 +85,19 @@ Ayushma is a white label product. You can customize the app to your needs by cha | |
|
||
### Images | ||
|
||
| Path | Description | ||
| --- | --- | ||
| `public/logo_text.svg` | Logo with text | ||
| `public/logo_white.svg` | Logo with white text | ||
| `public/logo.svg` | Logo without text | ||
| Path | Description | | ||
| ----------------------- | -------------------- | | ||
| `public/logo_text.svg` | Logo with text | | ||
| `public/logo_white.svg` | Logo with white text | | ||
| `public/logo.svg` | Logo without text | | ||
|
||
### Environment Variables (place in `.env` / `.env.local` file) | ||
|
||
| Variable | Description | Default | ||
| --- | --- | --- | ||
| `NEXT_PUBLIC_API_URL` | Backend API URL | `https://ayushma-api.ohc.network/api/` | ||
| `NEXT_PUBLIC_LOCAL_STORAGE` | Local storage key name | `ayushma-storage` | ||
| `NEXT_PUBLIC_AI_NAME`| Name of the AI | Ayushma | ||
| `NEXT_PUBLIC_AI_DESCRIPTION` | Description of the AI | Revolutionizing medical diagnosis through AI and Opensource | ||
| `NEXT_PUBLIC_AI_WARNING` | Warning message for accuracy | Please be aware that Ayushma AI may generate inaccurate information; kindly report any concerns to [email protected] | ||
| `NEXT_PUBLIC_GOOGLE_RECAPTCHA_SITE_KEY` | Google Recaptcha Site Key | `6Lerts4nAAAAAKyXaNZkYj4XfRO0M2R-XYIA3qv8` | ||
| Variable | Description | Default | | ||
| --------------------------------------- | ---------------------------- | ---------------------------------------------------------------------------------------------------------------------- | | ||
| `NEXT_PUBLIC_API_URL` | Backend API URL | `https://ayushma-api.ohc.network/api/` | | ||
| `NEXT_PUBLIC_LOCAL_STORAGE` | Local storage key name | `ayushma-storage` | | ||
| `NEXT_PUBLIC_AI_NAME` | Name of the AI | Ayushma | | ||
| `NEXT_PUBLIC_AI_DESCRIPTION` | Description of the AI | Revolutionizing medical diagnosis through AI and Opensource | | ||
| `NEXT_PUBLIC_AI_WARNING` | Warning message for accuracy | Please be aware that Ayushma AI may generate inaccurate information; kindly report any concerns to [email protected] | | ||
| `NEXT_PUBLIC_GOOGLE_RECAPTCHA_SITE_KEY` | Google Recaptcha Site Key | `6Lerts4nAAAAAKyXaNZkYj4XfRO0M2R-XYIA3qv8` | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
"build": "next build", | ||
"start": "next start", | ||
"lint": "next lint", | ||
"format": "yarn prettier ./src --write", | ||
"format": "prettier ./src --write", | ||
"prepare": "husky install" | ||
}, | ||
"dependencies": { | ||
|
@@ -58,5 +58,6 @@ | |
"prettier-plugin-tailwindcss": "^0.5.11", | ||
"tailwindcss": "^3.4.1", | ||
"typescript": "^5.3.3" | ||
} | ||
}, | ||
"packageManager": "[email protected]+sha512.f549b8a52c9d2b8536762f99c0722205efc5af913e77835dbccc3b0b0b2ca9e7dc8022b78062c17291c48e88749c70ce88eb5a74f1fa8c4bf5e18bb46c8bd83a" | ||
} |
Oops, something went wrong.