B
B
BitSky
Search…
Configure BitSky in Heroku
After you deploy BitSky to Heroku, if you want to change database, what you can do? You can find answer if you continue read.

Open Heroku Dashboard

You can open this link https://dashboard.heroku.com/apps, and select the Munew app you want to change

Open App Settings

Add or modify Environment Variables

Click Reveal Config Vars
, add or modify environment variables.
  1. 1.
    TYPEORM_CONNECTION: Database connection type. Currently, available values [sqlite, mongodb].
  2. 2.
    TYPEORM_HOST: Database host. Required when your TYPEORM_CONNECTION isn't sqlite. Example: munew123.mlab.com
  3. 3.
    TYPEORM_DATABASE: Database name. Required when your TYPEORM_CONNECTION isn't sqlite. Example: munew
  4. 4.
    TYPEORM_PORT: Database host port. Example: 27017
  5. 5.
    TYPEORM_USERNAME: Database username. Example: dbuser
  6. 6.
    TYPEORM_PASSWORD: Database password. Example: welcome

SQLite

MongoDB

Copy link
On this page
Open Heroku Dashboard
Open App Settings
Add or modify Environment Variables