<commit_before>baseurl=http://localhost:8000

bin/ lib/:
	virtualenv .
	wget http://python-distribute.org/bootstrap.py
	bin/python bootstrap.py
	rm bootstrap.py

install: bin/

clean:
	rm -rf bin/ lib/ local/ include/ *.egg-info/ develop-eggs/ parts/
	rm -rf reports/ var/
	rm -f .installed.cfg 

unit_tests: bin/
	bin/buildout -Nvc buildout-tests.cfg
	bin/django jenkins --coverage-rcfile=.coveragerc auth

functional_tests: 
	casperjs --baseurl=$(baseurl) --save=reports/FUNC-auth.xml caminae/tests/auth.js

tests: unit_tests functional_tests

serve: bin/
	bin/buildout -Nvc buildout-dev.cfg
	bin/django syncdb --migrate
	bin/django runserver

deploy: bin/
	bin/buildout -Nvc buildout-prod.cfg
	bin/django syncdb --noinput --migrate
	bin/supervisorctl restart all<commit_msg>Add core app to unit tests<commit_after>baseurl=http://localhost:8000

bin/ lib/:
	virtualenv .
	wget http://python-distribute.org/bootstrap.py
	bin/python bootstrap.py
	rm bootstrap.py

install: bin/

clean:
	rm -rf bin/ lib/ local/ include/ *.egg-info/ develop-eggs/ parts/
	rm -rf reports/ var/
	rm -f .installed.cfg 

unit_tests: bin/
	bin/buildout -Nvc buildout-tests.cfg
	bin/django jenkins --coverage-rcfile=.coveragerc auth core

functional_tests: 
	casperjs --baseurl=$(baseurl) --save=reports/FUNC-auth.xml caminae/tests/auth.js

tests: unit_tests functional_tests

serve: bin/
	bin/buildout -Nvc buildout-dev.cfg
	bin/django syncdb --migrate
	bin/django runserver

deploy: bin/
	bin/buildout -Nvc buildout-prod.cfg
	bin/django syncdb --noinput --migrate
	bin/supervisorctl restart all
{'fraction_non_alphanumeric': 0.11959287531806616, 'fraction_numerical': 0.005089058524173028, 'mean_word_length': 3.640117994100295, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '2285251', 'n_tokens_mistral': 595, 'n_tokens_neox': 574, 'n_words': 141}