-
Notifications
You must be signed in to change notification settings - Fork 3
Run project from source code
To run and edit the project from the source, be sure to have installed in your computer the following software:
- Python 3.10
- Pip
- A code editor
- Git (optional)
To clone this repo using git, using the terminal, go to a folder where you want the project to be and run:
git clone https://github.com/GraphFilter/GraphFilter.gitYou can download the source code from a release.
Preferably using the virtual environment, install the project requirements:
pip install -r requirements.txtYou can also install the libraries using your local python. However, the virtual environment will prevent you to install the libs in your local computer, and it will be available only on the project scope, avoiding conflicting versions of the libs. But you have to remember to always activate the virtual environment before running or editing.
To install a new library, inside the virtual environment, run the command:
pip install your-libraryWhenever you install a new library, you need to update the requirements.txt file.
At the cmd, run:
pip freeze > requirements.txtTo see the project running, inside the virtual environment at cmd, run:
python app.py