This repository contains my TFG code about HaloFiles, a webApp build with Django that works as GUI to share & commit information about biological microorganisme data.
This app works with Django, a Python full-stack framework. Before continue with this guide, ensure that you have a Python version over 3.10
- Clone this repository in your machine
git clone MiquelMontero02/TFG
- Go to the cloned repository directory
- Create an virtual env. You can choose any name, in this example it will be "halo_env". If you need help with this, check Python venv documentation here
python -m venv /path/to/new/virtual/environment
-
Windows
halo_env\Scripts\activate
-
Linux / macOS
source halo_env/bin/activate
-
Install requirements from "requirements.txt"
pip install -r requirements.txt
-
Configure .env. This projects use .env configurations that allows to send emails & access to a non-opensource API. To work with this app, ensure to define this file with this information
ENV= #DEV to see Django debug msg DB_PATH= #define API url that you wanna use SMPT_PASSWORD= EMAIL_HOST=# smtp.outlook.com if you use outlook mail EMAIL_PORT=587 # Used to be 587, but check it EMAIL_HOST_USER=#host email address EMAIL_HOST_PASSWORD= EMAIL_USE_TLS=True DEFAULT_FROM_EMAIL=#Default email that would se the reciver