Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dhrumilp12 authored Sep 30, 2024
1 parent 6927c20 commit f8c647b
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,31 +16,34 @@
```
https://github.com/dhrumilp12/Mental-Health-Companion.git
```
2. Build the server with Docker
```
cd ./server
docker build --pull --rm -t mental-health-app:latest .
```

3. Configure environment variables:
2. Configure environment variables:
- Copy the `.env.example` file to a new file named `.env`.
- Update the `.env` file with your specific configurations.
```
cp .env.example .env
```
4. Setup the frontend environment with NPM
5. Setup the frontend environment with NPM
```
cd ./client
npm install
npm run dev
```
5. Run the backend:
```
cd ./server
pip install -r requirements.txt
python app.py
```
6. Build the frontend:
5. Build the frontend:
```
npm run build
```
6. Build the backend with Docker
```
cd ./server
docker build --pull --rm -t mental-health-app:latest .
```
7. Execute the frontend:
```
npm run preview
Expand Down

0 comments on commit f8c647b

Please sign in to comment.