strider-heroku

0.2.0 • Public • Published

Heroku Deploys with Strider

Prerequisites:

Important config!

To use on anything other than localhost:3000, you need to register your own Heroku API client, at https://dashboard.heroku.com/account. See this docs page for more info.

This is a screenshot of what you will see on your dashboard:

screenshot

Configuring Strider to use your Heroku API Client

If running locally we recommend using ngrok: ngrok http 3000 and using the provided url as your host in Heroku and for SERVER_NAME env on Strider.

Add an API client for the url pattern: https://yourhostnameofstrider/ext/heroku/oauth/callback Copy values for HEROKU_OAUTH_ID and HEROKU_OAUTH_SECRET, you'll configure Strider to use them later.

Install the heroku cli, and login:

heroku login

Running Strider locally:

SERVER_NAME=<servername via ngrok> PLUGIN_HEROKU_CLIENT_ID=<id> PLUGIN_HEROKU_CLIENT_SECRET=<secret> npm start

Running Strider on Heroku:

Install the heroku cli, and run:

heroku config:add PLUGIN_HEROKU_CLIENT_ID=<id> PLUGIN_HEROKU_CLIENT_SECRET=<secret> --app <appname>

/strider-heroku/

    Package Sidebar

    Install

    npm i strider-heroku

    Weekly Downloads

    6

    Version

    0.2.0

    License

    MIT

    Unpacked Size

    32.3 kB

    Total Files

    18

    Last publish

    Collaborators

    • knownasilya
    • niallo
    • oliversalzburg