<commit_before>
.PHONY: docs
docs:
	naturaldocs --rebuild-output --input lib/monarch --project lib/.naturaldocs_project/ --output html docs/

deploy: origin-push heroku-deploy

origin-push:
	git push origin master

## cjm: http://secret-harbor-1370.herokuapp.com/
heroku-create:
	heroku create --stack cedar --buildpack https://github.com/cmungall/heroku-buildpack-ringojs-jdk7.git --remote monarch-heroku
heroku-deploy:
	git push monarch-heroku master

app-engine:
	ringo-admin create --google-appengine gae<commit_msg>basic env driven launcher via make<commit_after>####
#### Development easing.
####

###
### Environment variables.
###

RINGO_MODULE_PATH ?= ../stick/lib
RINGO_BIN ?= /usr/bin/ringo
RINGO_PORT ?= 8080

###
### Documentation.
###

.PHONY: docs
docs:
	naturaldocs --rebuild-output --input lib/monarch --project lib/.naturaldocs_project/ --output html docs/

###
### Deployment.
###

deploy: origin-push heroku-deploy

origin-push:
	git push origin master

## cjm: http://secret-harbor-1370.herokuapp.com/
heroku-create:
	heroku create --stack cedar --buildpack https://github.com/cmungall/heroku-buildpack-ringojs-jdk7.git --remote monarch-heroku
heroku-deploy:
	git push monarch-heroku master

app-engine:
	ringo-admin create --google-appengine gae

## Setup portable Ubuntu environment. -SJC
.PHONY: cli-launch
cli-launch:
	RINGO_MODULE_PATH=$(RINGO_MODULE_PATH) $(RINGO_BIN) ./lib/monarch/web/webapp_launcher.js --port=$(RINGO_PORT)
{'fraction_non_alphanumeric': 0.1459050240880936, 'fraction_numerical': 0.009635237439779766, 'mean_word_length': 4.268115942028985, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3964640', 'n_tokens_mistral': 547, 'n_tokens_neox': 513, 'n_words': 112}