2020-1 Ajou univ. database course.
알레르기 유무 및 채식 유형멸 맞춤 식품 검색 서비스 development with Python, PostgreSQL
Python 3.6, postgres
- Clone this repository
- Install dependencies
pip3 install -r requirements.txt
input command prompt like below
cd src
python upload_data.py --user postgres --pwd 1234 --db projectDB --host localhost --port 5432
--user: user name --pwd: sever password --db: database name --host: host address(default: localhost) --port: port number
- All tables in that database are dropped.
python main.py
- initial window
- search with text or barcode scan
- you can close barcode windows with esc key.(not close window button.)
input command prompt like below
cd src
python make_dataset.py
it will make AllergyRawMtrl_{%y%m%d%H%M%S}.csv, haccp_dataset_{%y%m%d%H%M%S}csv, VegRawMtrl_{%y%m%d%H%M%S}.csv
uplode_data.py will upload lastest csv file.