Skip to content

Integrate Heroku and Data Cloud using the Heroku Postgres Connector and the Web SDK

License

Notifications You must be signed in to change notification settings

heroku-reference-apps/lumina-solar-datacloud

Lumina Solar - Data Cloud

Deploy

Integrate Heroku and Data Cloud using the Heroku PostgreSQL Connector and the Web and Mobile Application Connector

Requirements

Installation

Install dependencies by running:

npm install

Create an Heroku application with:

heroku create <app-name>

Install the Heroku PostgreSQL addon:

 heroku addons:create heroku-postgresql:essential-0

Once the PostgreSQL database is created, setup the database schema with:

heroku pg:psql < data/schema.sql

Make sure to fetch the database configuration to your local project by running:

heroku config --shell > .env

Seed the database with mock data by running:

node data/seed.js

Run the project locally with:

npm run dev

Manual Deployment

To manually deploy to Heroku you can run:

git push heroku main

About

Integrate Heroku and Data Cloud using the Heroku Postgres Connector and the Web SDK

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Languages