Commit 70dc5231 authored by sim's avatar sim

Add alembic

parent 1c0e1a55
......@@ -8,9 +8,15 @@ TARG=dev
PIPENV_ARGS=--dev
endif
VENV=$(shell pipenv --venv)
PY_VERSION=$(shell python -c 'import sys; v=sys.version_info; print("{0}.{1}".format(*v))')
gargantext: conf env
@echo "• Installing dependencies..."
pipenv install $(PIPENV_ARGS)
@# Put current directory in python path to be able to import gargantext
@# from scripts in sub-directories (eg. alembic revisions)
@pwd > $(VENV)/lib/python$(PY_VERSION)/site-packages/gargantext.pth
@echo
env:
......
......@@ -21,6 +21,7 @@ django-celery = "*"
djangorestframework = "*"
djangorestframework-jwt = "*"
python-decouple = "*"
alembic = "*"
[requires]
......
{
"_meta": {
"hash": {
"sha256": "53e18b75e4a0cfdcafd2ff47bd1d6772a5638f975b59fe95f4575e4086f60346"
"sha256": "7a16a064353cfbfbf663cc7cbef0696dcc4bab271b2b3553ed39d2f69b37ee9b"
},
"host-environment-markers": {
"implementation_name": "cpython",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment