fizzerle / Commit-Mentor

This Projects helps developers to write better commit messages.
MIT License
0 stars 0 forks source link

Commit Mentor

Setup for the backend

NOTE: python and pip3 should be installed

NOTE: make sure you have python3-dev installed

change to the backend directory and run the following command to install all dependencies of the backend application.

pip install -r requirements.txt

Copy the weights file (https://we.tl/t-GQJUCjTSt9) in the /backend folder

Copy the parser model (https://allennlp.s3.amazonaws.com/models/elmo-constituency-parser-2020.02.10.tar.gz) in the folder /backend/tools

To start the backend run this command in the backend folder:

uvicorn main:app

Setup for the frontend

NOTE: recent version of node should be installed

NOTE: Angular should be installed: sudo npm install -g @angular/cli

change to the frontend directory and run the following command to install all dependencies

npm install

To start the frontend run this command in the frontend folder:

ng serve