Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can go to your Heroku dashboard (https://dashboard.heroku.com/apps), choose your dyno and then go to Add-ons and add Heroku Postgress database, or again by giving the command in the command line:

$

...

heroku

...

addons:create

...

heroku-postgresql

...

--app

...

<your

...

heroku

...

app

...

name>

Useful configuration commands

...

-- show all config parameters:

Code Block
languagetext
titleshow all config parameters
$ heroku config --app <your heroku app name>

--

...

show

...

all

...

environmental

...

parameters:

$

...

heroku

...

run

...

printenv

...

--app

...

<your

...

heroku

...

app

...

name>

-- show application info:

$

...

heroku

...

info

...

--app

...

<your

...

heroku

...

app

...

name>

Set the Java options environmental variable for example: 

$

...

heroku

...

config:add

...

JAVA_OPTS='-Xms128m

...

-Xmx512m'

...

--app

...

<your

...

heroku

...

app

...

name>

-- restart Heroku application

$

...

heroku

...

restart

...

--app

...

<your

...

heroku

...

app

...

name>

Installation complete

Open your browser and enter https:/yourappname.herokuapp.com/. You should now see the TermWeb login screen. You can log in with client admin, user admin and password admin.

...