Set Up - TripSage/TeamFormationAssistant GitHub Wiki

General set up:

git clone https://github.com/TripSage/TeamFormationAssistant.git
cd TeamFormationAssistant
python3 -m venv venv
source venv/bin/activate
pip install -r src/requirements.txt

To generate mock data:

npm i faker
npm i --save lodash.samplesize
cd mock_data
node mock_data.js <number of members> <number of projects>

The file will generate random data to fill the Member, Project, and Requirement tables. This can be used to test the algorithm.
A few notes on the implementation:

The mock data that is created is deployed directly to the database.
Use with caution. The script automatically drops and recreates all related tables to guarantee a fresh set of data.
It does this by using a stored procedure in the database called reset().

Running Front End (React):

cd FrontEnd
npm start

If facing any errors, try removing node-modues and run:
npm install

Running Back End (Flask):

cd BackEnd
flask run

Running Algorithm:

cd BackEnd
python TeamAssigner.py

The algorithm uses the data from Member, Project, and Requirements to match the skills of the member to the requirements of the project and fills up the Team table.

⚠️ **GitHub.com Fallback** ⚠️