Skip to content

angelim/snowly-heroku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snowly for Heroku

More than often you'll be working with a team when implementing Snowplow tracking. In order to keep Snowly schemas in sync with all your teammates you can deploy it to Heroku for free.

Installation

Use the Heroku Button or clone this repo and set it up for Heroku.

1. Using the Heroku Button

Deploy

The environment variable pointing to the Schema Resolver will default to /app/schemas. You can change that variable in Heroku's app settings to an external static site(eg. An S3 bucket).

Uploading schemas to Heroku:

heroku git:clone -a <YOUR-APP-NAME>
cd <YOUR-APP-NAME>
git remote add origin https://github.com/angelim/snowly-heroku.git
git pull origin master --allow-unrelated-histories --no-edit
# Copy schemas...
git add .
git commit -am 'adding schemas to repository'
git push heroku master

2. Cloning Repository

git clone https://github.com/angelim/snowly-heroku.git
cd snowly-heroku
heroku create
heroku config:set DEVELOPMENT_IGLU_RESOLVER_PATH=/app/schemas
# Copy schemas...
git add .
git commit -am 'adding schemas to repository'
git push heroku master

Example

|-- schemas
  |-- com.mycompany
    |-- user_context
      |-- jsonschema
        |-- 1-0-0
        |-- 1-0-1

About

Deploy Snowly to Heroku

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages