diff options
| author | luccioman <luccioman@users.noreply.github.com> | 2016-07-20 00:35:16 +0200 |
|---|---|---|
| committer | luccioman <luccioman@users.noreply.github.com> | 2016-07-20 00:35:16 +0200 |
| commit | 0c327d0a93ddb5a298234e025503c75c733aaa93 (patch) | |
| tree | dc74e20c0c7b0d40398b8492687b92927af7f6fc /Heroku.md | |
| parent | 25cb470e21529177d7eb1c863a765e4aa7cde2c3 (diff) | |
Moved variables configuration at the right place.
If running "heroku config:set" before git initialization, --app appname
option has to be explicitely passed.
Diffstat (limited to 'Heroku.md')
| -rwxr-xr-x | Heroku.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -39,12 +39,12 @@ Here are some brief instructions to deploy YaCy on Heroku from command line. Mor - check everything works fine at http://localhost:8090 - stop the local YaCy - Log in on heroku : `heroku login` -- Create an app on heroku : `heroku create` -- Set the `MAVEN_CUSTOM_OPTS` config var : - - run : `heroku config:set MAVEN_CUSTOM_OPTS="-f libbuild/pom.xml -DskipTests=true -Dyacy.port=80 -Dyacy.admin.passwd=MD5:1029a0355adffb6378ceed9936ca9be4 -Dyacy.staticIP=your_app_name.herokuapp.com"` (fill `yacy.staticIP` and `yacy.admin.passwd` properties as described in the previous paragraph) - - OR only set minimum required : `heroku config:set MAVEN_CUSTOM_OPTS="-f libbuild/pom.xml -DskipTests=true` and modify locally the defaults/yacy.init file (properties `port`, `staticIP` and `adminAccountBase64MD5`) +- Create an app on heroku : `heroku create [your_app_name]` - Initialize a git repository : `git init` - Add remote heroku git repository for this deployment : `heroku git:remote -a your_app_name` +- Set the `MAVEN_CUSTOM_OPTS` config var : + - run : `heroku config:set MAVEN_CUSTOM_OPTS="-f libbuild/pom.xml -DskipTests=true -Dyacy.port=80 -Dyacy.admin.passwd=MD5:1029a0355adffb6378ceed9936ca9be4 -Dyacy.staticIP=your_app_name.herokuapp.com"` (fill `yacy.staticIP` and `yacy.admin.passwd` properties as described in the previous paragraph) + - OR only set minimum required : `heroku config:set MAVEN_CUSTOM_OPTS="-f libbuild/pom.xml -DskipTests=true"` and modify locally the defaults/yacy.init file (properties `port`, `staticIP` and `adminAccountBase64MD5`) - Add files to git index : `git add .` - Commit : `git commit` - Push to heroku : `git push heroku master` |
