Skip to content

Latest commit

 

History

25 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

voice2care

Development:

How to set up Dev Environment:

  1. Install and Setup WSL2
  2. Update packages

sudo apt update sudo apt upgrade

  1. Install Node

sudo apt install npm

Dev Dockerized Build

Only need to run this one command for hot reload backend, frontend, and nginx reverse proxy

docker compose -f docker-compose.dev.yml up --build No cache: docker compose -f docker-compose.dev.yml build --no-cache docker compose -f docker-compose.dev.yml up

Start individual components

How to start frontend hot reload
  1. Go to frontend directory

cd frontend

  1. Install packages

npm install

  1. Run Dev Server through Vite

npm run dev

How to start backend hot reload
  1. Go to backend directory

cd backend

  1. Install packages

npm install

  1. Run Dev server through nodemon

npm run dev:hot

Prod build:

  1. Download Docker Desktop w/ WSL2 integration
  2. Build Docker Image

docker compose build

  1. Run Docker Image

docker compose up -d

  1. Access site: localhost, proxy to api http://localhost/api/

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages