FitTrackee/Makefile.config
2017-12-25 21:17:47 +01:00

16 lines
374 B
Makefile

HOST = 0.0.0.0
API_PORT = 5000
export REACT_APP_API_URL ?= http://$(HOST):$(API_PORT)/api/
export FLASK_APP ?= $(PWD)/mpwo_api/server.py
# Python env
PYTHON_VERSION ?= python
VENV = $(PWD)/mpwo_api/venv
PYTHON = $(VENV)/bin/python
FLASK = $(VENV)/bin/flask
# Node env
NODE_MODULES = $(PWD)/mpwo_client/node_modules
NPM ?= yarn --modules-folder mpwo_client/node_modules/