A project to improve the efficiency of my life!
All commands should be run from the root of the repo.
-
Make sure that you set your python path to the source root (this is different from the repo root):
Windows:
set PYTHONPATH=%PYTHONPATH%;.\life-efficiency
Linux
export PYTHONPATH=./life-efficiency
-
Make sure your AWS credentials are setup:
Windows:
set AWS_CONFIG_FILE=D:\Tools\cygwin\home\Leon\.aws\config
set AWS_SHARED_CREDENTIALS_FILE=D:\Tools\cygwin\home\Leon\.aws\credentials
-
pipenv install -d
-
pipenv run python life-efficiency/main.py
We are using pytest to test this project, and a pytest plugin to monitor the test coverage.
make test
We are using flake8 as our super cool Python linter.
make lint
-
Update the requirements file:
pipenv lock -r > life-efficiency/requirements.txt
. -
Build
make build
make run
make deploy-dev
make deploy-prod
Note: You must have valid AWS environment setup.
make test-functional
https://github.com/todotxt/todo.txt
Shopping history is stored.