Skip to content

Commit

Permalink
Merge branch 'main' of github.com:Arvind-4/HealthCare
Browse files Browse the repository at this point in the history
  • Loading branch information
Arvind-4 committed Oct 1, 2023
2 parents ea9e866 + 4396776 commit 46f1023
Showing 1 changed file with 61 additions and 38 deletions.
99 changes: 61 additions & 38 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,54 +1,77 @@
# Health Care Website
# Dokcare:

Vist the [Website](https://healthcarewebsite.herokuapp.com/).
Welcome to **Dokcare**, your one-stop solution for healthcare appointments. Join us at Dokcare and take the first step towards better health.

Here's a list of the packages we will use to accomplish this:
## Screenshots:

- Django (Async)
- HTML5
- CSS3
- Javascript
- Gunicorn
- Uvicorn
- Cockroach DB
- whitenoise
- Vite
- and more .
<img src="https://github.com/Arvind-4/dokcare/blob/main/.github/static/homepage.png?raw=true" alt="Home Page" />

## Code
## 📦 Tech Stack:

### Install Virtualenv
```
python3.9 -m pip install virtualenv
cd ~/Dev
mkdir health_website
cd health_website
python3.9 -m virtualenv .
```
### Activate the Virtualenv
```
- [Django](https://www.djangoproject.com) - Django makes it easier to build better web apps more quickly and with less code.
- [Solid Js](https://www.solidjs.com/) - A Reactive JavaScript Library.
- [Vite](https://vitejs.dev/) - Next Generation Frontend Tooling.
- [CockroachDB](https://www.cockroachlabs.com/) - A distributed SQL database designed for speed, scale, and survival.


Deployed on [Vercel](https://vercel.com/). <br/>
Click Here for [Live Preview.](https://dokcare.vercel.app/)



## Deploy Now:
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/Arvind-4/dokcare/)

## Getting Started:

- Clone Repo

```bash
cd /path/to/folder
mkdir dokcare
cd dokcare
git clone https://github.com/Arvind-4/dokcare.git .
```

- Create a Virtual Environment

```bash
cd dokcare
python3.9 -m venv .
source bin/activate
```

### Install Dependencies
```
cd /path/to/folder/health_website
git clone https://github.com/Arvind-4/HealthCare.git .
poetry install
**For Windows use:** `.\Scripts\activate`

- Install Dependencies

```bash
pip install -r requirements.txt
```

### Run Frontend
Add Your Environment variable to `.env`.
Refer `.sample.env` file.

- Make Migrations

```bash
cd /path/to/folder/dokcare
python manage.py makemigrations
python manage.py migrate
```
cd ~/Dev/health_website/frontend
npm i

- Build Frontend

```bash
cd /path/to/folder/dokcare
npm run i
npm run production
```

### Run the Backend
```
cd ~/Dev/health_website/web
python manage.py runserver
- Run Dev Server

```bash
python manage.py runserver localhost:8000
```
### Change Log
[Logs](https://github.com/Arvind-4/HealthCare/commits)

Open [localhost:8000](http://localhost:8000/) in Browser.

0 comments on commit 46f1023

Please sign in to comment.