Code Monkey home page Code Monkey logo

authorizer-heroku's Introduction

Authorizer Server on Heroku

Deploy Authorizer using heroku with Postgres database for free and quickly play with it in 30seconds

Deploy to Heroku

After click the above button you will see screen as below, follow the steps mentioned below:

Step 1: Enter the App name

App name becomes the url for your application. Example if you have entered authorizer-demo as the app name then the authorizer url will be authorizer-demo.herokuapp.com.

Step 2: Choose the Region

Select the region you want to deploy you application in. Heroku supports United States and Europe only.

Step 3: Configure the Environment Variables

Required envs are pre-configured, but based on the production and social logins, please configure the environment variables. Please refer to environment variables docs for more information

Updating Authorizer to latest version on existing Heroku instance

Pre requisites

Step 1: Clone Authorizer Heroku App

The Authorizer app with Heroku buildpack/configuration is available at: https://github.com/authorizerdev/authorizer-heroku.

Clone the above repository.

git clone https://github.com/authorizerdev/authorizer-heroku
cd authorizer-heroku

If you already have this, then pull the latest changes which will have the updated GraphQL engine Docker image.

Step 2: Attach Heroku app

Let’s say your Heroku app is called authorizer-heroku and is running on https://authorizer-heroku.herokuapp.com.

From inside the graphql-engine-heroku directory, use the Heroku CLI to configure the git repo you cloned in Step 1 to be able to push to this app.

# Replace <authorizer-heroku> with your Heroku app's name

heroku git:remote -a <authorizer-heroku>
heroku stack:set container -a <authorizer-heroku>

You can find your Heroku git repo in your Heroku - Settings - Info - Heroku Git URL

Step 3: git push to deploy the latest Authorizer GraphQL engine

When you git push to deploy, the Heroku app will get updated with the latest changes:

git push heroku main

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.