Navigate your inner landscape, one entry at a time.
To begin, clone the repository using one of the following methods:
-
HTTPS:
git clone https://github.com/riu-rd/Sentimetry.git
-
GitHub CLI:
gh repo clone riu-rd/Sentimetry
-
Download the
.envfile (Download Here) (Requires DLSU account)- NOTE: The provided .env download link is currently not working anymore!
-
Place the
.envfile inside thefrontenddirectory. -
Open your Command Line Interface (CLI) and navigate to the
frontenddirectory:cd frontend -
Install Dependencies:
npm install
-
Run the Frontend Application:
npm run dev
- Open the link provided by your terminal (usually something like
http://localhost:3000).
- Open the link provided by your terminal (usually something like
-
Optional Troubleshooting:
If you encounter issues running the application, try installing these additional packages:
npm install firebase -D tailwindcss npm run dev
-
Open your Command Line Interface (CLI) and navigate to the
backenddirectory:cd backend -
Set Up a Python Environment (Python 3.11.10 required):
You can choose between two methods:
-
Using Virtualenv:
Create the virtual environment:
python -m venv venv
Activate the environment:
-
Windows:
.\venv\Scripts\activate
-
macOS/Linux:
source venv/bin/activate
-
-
Using Conda:
Create the conda environment:
conda create --name sentimetry python=3.11.10
Activate the conda environment:
conda activate sentimetry
-
-
Install Backend Dependencies:
pip install -r requirements.txt
-
Run the Backend API:
python api.py
-
Wait for the backend to fully initialize. The terminal will indicate successful setup with:
INFO: Application startup complete. -
Once complete, access the backend API by navigating to
http://localhost:8000in your web browser.
-
Enjoy harmonizing your emotional clarity with Sentimetry!