- Clone the repository:
git clone https://github.com/Nate8888/FinSim.git
- Open Command Prompt.
- Navigate to the
backendfolder:cd FinSim/backend - Activate a virtual environment:
python3 -m venv venv # command could be python or python3 .\venv\Scripts\activate # On Windows
- Install the dependencies:
python3 -m pip install -r requirements.txt # Make sure you are inside the backend folder - Run the Backend server:
python3 main.py
- Open Terminal.
- Navigate to the
backendfolder:cd FinSim/backend - Activate the virtual environment:
python3 -m venv venv # command could be python or python3 source venv/bin/activate
- Install the dependencies:
python3 -m pip install -r requirements.txt
- Run the Backend server:
python3 main.py
- Open a terminal or command prompt.
- Navigate to the
frontend/finsimfolder:cd FinSim/frontend/finsim - Install the dependencies:
npm install
- Run the Frontend server:
npm run dev
- Pull the latest changes from the main branch:
git pull origin main
- Checkout to a new branch based on the main branch:
git checkout -b your-branch-name
- Add your changes:
git add . - Commit your changes:
git commit -m "Your commit message" - Push your changes to the remote repository:
git push origin your-branch-name