<commit_before>NPM_ROOT = ./node_modules
STATIC_DIR = src/sentry/static/sentry

install-python:
	@echo "--> Installing Python dependencies"
	pip install "setuptools>=0.9.8"
	# order matters here, base package must install first
	pip install -e .
	pip install ujson
	pip install "file://`pwd`#egg=sentry[dev]"

install-npm:
	@echo "--> Installing Node dependencies"
	npm install

install-python-tests:
	pip install "file://`pwd`#egg=sentry[dev,tests,dsym]"

develop-only: update-submodules install-python install-python-tests install-npm

develop: develop-only setup-git
	@echo ""

dev-postgres: install-python

dev-docs:<commit_msg>explicit NPM environment for installation<commit_after>NPM_ROOT = ./node_modules
STATIC_DIR = src/sentry/static/sentry

install-python:
	@echo "--> Installing Python dependencies"
	pip install "setuptools>=0.9.8"
	# order matters here, base package must install first
	pip install -e .
	pip install ujson
	pip install "file://`pwd`#egg=sentry[dev]"

install-npm:
	@echo "--> Installing Node dependencies"
	# we need these to happen explicitly due to NODE_ENV influencing it
	npm install --only=prod
	npm install --only=dev

install-python-tests:
	pip install "file://`pwd`#egg=sentry[dev,tests,dsym]"

develop-only: update-submodules install-python install-python-tests install-npm

develop: develop-only setup-git
	@echo ""

dev-postgres: install-python

dev-docs:
{'fraction_non_alphanumeric': 0.12097351467430208, 'fraction_numerical': 0.004294917680744453, 'mean_word_length': 4.800829875518672, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6103018', 'n_tokens_mistral': 488, 'n_tokens_neox': 459, 'n_words': 122}