FitTrackee/Makefile.config

30 lines
739 B
Makefile
Raw Normal View History

2017-12-25 21:17:47 +01:00
HOST = 0.0.0.0
API_PORT = 5000
CLIENT_PORT = 3000
2017-12-25 21:17:47 +01:00
export FLASK_APP = $(PWD)/fittrackee/server.py
export FLASK_ENV=development
export TEST_APP_URL = http://$(HOST):$(API_PORT)
export TEST_CLIENT_URL = http://$(HOST):$(CLIENT_PORT)
export MIGRATIONS = $(PWD)/fittrackee/migrations
2017-12-25 21:17:47 +01:00
# Python env
PYTHON_VERSION ?= python
2018-09-09 10:48:32 +02:00
VENV = $(PWD)/.venv
2017-12-25 21:17:47 +01:00
PYTHON = $(VENV)/bin/python
2019-08-28 11:48:30 +02:00
POETRY = poetry
2017-12-25 21:17:47 +01:00
FLASK = $(VENV)/bin/flask
2019-08-28 13:15:22 +02:00
PYTEST = $(VENV)/bin/py.test -c pyproject.toml -W ignore::DeprecationWarning
2018-06-20 15:27:52 +02:00
GUNICORN = $(VENV)/bin/gunicorn
2019-08-28 13:15:22 +02:00
BLACK = $(VENV)/bin/black
2017-12-25 21:17:47 +01:00
# Node env
NODE_MODULES = $(PWD)/fittrackee_client/node_modules
2018-11-18 13:06:04 +01:00
NPM ?= yarn
#Sphinx Docs
SPHINXOPTS ?=
SPHINXBUILD ?= $(VENV)/bin/sphinx-build
SOURCEDIR = docsrc/source
BUILDDIR = docsrc/build