diff --git a/README.md b/README.md index d4833512..1543a41b 100644 --- a/README.md +++ b/README.md @@ -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