Application to simulate a contact directory
- Python 3.7
- pip
-
Clone repository:
git clone git@github.com:tamayonauta/contact-directory.git
-
Go to app directory:
cd app
-
Install requirements:
pip3 install -r requirements/production.txt
-
Start project:
python3 main.py
-
Clone repository:
git clone git@github.com:tamayonauta/contact-directory.git
-
Create virtual environment:
python3 -m venv <my_env_name>
-
Activate virtual environment
source <my_env_name>/bin/activate
-
Go to app directory:
cd app
-
Install requirements:
pip install -r requirements/local.txt
-
Start project:
python main.py
-
Go to app directory:
cd app
-
Run commands:
python -m unittest
-
Edit file:
vim app/external_systems/data.py
-
Add data to
PERSONAL_DATA
list with this structure:{ "id_type": "CC", # "CC", "CE", "PP" "id_number": "1000000", "id_exp_date": "2001-01-11", # "%Y-%m-%d" "full_name": "John Doe" }
-
Save file
This project is licensed under the terms of the MIT license.