A Vue.js Application for learning the Chinese Language
Here you can find the popup-chinese backend based on Spring Boot, Spring Data JPA, Hibernate, Spring Security and Okta.
To run the backend successfully on heroku:
-
Configure Okta in application.yml
okta: oauth2: issuer: ${OKTA_ISSUER} client-id: ${OKTA_CLIENT_ID} scope: openid profile email
-
Set Okta environment variables as heroku config vars
heroku config:set OKTA_ISSUER=https://{yourOktaDomain}.okta.com/oauth2/default heroku config:set OKTA_CLIENT_ID={yourOktaClientId}
-
Set your PostgreSQL DATABASE_URL config var in heroku
heroku config:set DATABASE_URL=postgres://{username}:{password}@{databaseServer}:{port}/{database}
-
To push your commits to heroku use following command
git push heroku master