From 68f6419255fd1bd15894d68cfc0a9ff29a8cf7ea Mon Sep 17 00:00:00 2001 From: luccioman Date: Tue, 5 Jul 2016 22:49:40 +0200 Subject: [PATCH] Added Heroku config files - .env : environment variables to build and run YaCy with Heroku - Procfile : command line used to start YaCy with Heroku Tested with heroku local --- .env | 2 ++ Procfile | 1 + 2 files changed, 3 insertions(+) create mode 100755 .env create mode 100755 Procfile diff --git a/.env b/.env new file mode 100755 index 000000000..50ce56854 --- /dev/null +++ b/.env @@ -0,0 +1,2 @@ +MAVEN_CUSTOM_OPTS=-f libbuild/pom.xml +JAVA_OPTS=-server -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djsse.enableSNIExtension=false \ No newline at end of file diff --git a/Procfile b/Procfile new file mode 100755 index 000000000..c80972424 --- /dev/null +++ b/Procfile @@ -0,0 +1 @@ +web: java $JAVA_OPTS -classpath target/classes:lib/* net.yacy.yacy \ No newline at end of file