Giter Club home page Giter Club logo

metabase-heroku's Introduction

Metabase

Metabase is the easy, open-source way for everyone in your company to ask questions and learn from data.

Metabase Product Screenshot

Latest Release codecov Docker Pulls

Get started

The easiest way to get started with Metabase is to sign up for a free trial of Metabase Cloud. You get support, backups, upgrades, an SMTP server, SSL certificate, SoC2 Type 2 security auditing, and more (plus your money goes toward improving Metabase). Check out our quick overview of cloud vs self-hosting. If you need to, you can always switch to self-hosting Metabase at any time (or vice versa).

Features

Take a tour of Metabase.

Supported databases

Installation

Metabase can be run just about anywhere. Check out our Installation Guides.

Contributing

Quick Setup: Dev environment

In order to spin up a development environment, you need to start the front end and the backend as follows:

Frontend quick setup

The following command will install the Javascript dependencies:

$ yarn install

To build and run without watching changes:

$ yarn build

To build and run with hot-reload:

$ yarn build-hot

Backend quick setup

In order to run the backend, you'll need to build the drivers first, and then start the backend:

$ ./bin/build-drivers.sh
$ clojure -M:run

For a more detailed setup of a dev environment for Metabase, check out our Developers Guide.

Internationalization

We want Metabase to be available in as many languages as possible. See which translations are available and help contribute to internationalization using our project over at POEditor. You can also check out our policies on translations.

Extending Metabase

Hit our Query API from Javascript to integrate analytics. Metabase enables your application to:

  • Build moderation interfaces.
  • Export subsets of your users to third party marketing automation software.
  • Provide a custom customer lookup application for the people in your company.

Check out our guide, Working with the Metabase API.

Security Disclosure

See SECURITY.md for details.

License

This repository contains the source code for both the Open Source edition of Metabase, released under the AGPL, as well as the commercial editions of Metabase, which are released under the Metabase Commercial Software License.

See LICENSE.txt for details.

Unless otherwise noted, all files © 2024 Metabase, Inc.

If you’d like more technical resources to set up your data stack with Metabase, connect with a Metabase Expert.

metabase-heroku's People

Contributors

heliostatic avatar levinomoises avatar nfm avatar salsakran avatar tlrobinson avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

metabase-heroku's Issues

Buildpack error attempting to upgrade to 0.25.

I'm attempting to upgrade my Heroku deployment to 0.25 following the instructions found here: http://www.metabase.com/docs/latest/operations-guide/running-metabase-on-heroku.html but when I attempt to push master to heroku, it is being rejected by the buildpack:

Here's what I'm seeing:

$ git clone https://github.com/metabase/metabase-deploy.git
Cloning into 'metabase-deploy'...
remote: Counting objects: 411, done.
remote: Total 411 (delta 0), reused 0 (delta 0), pack-reused 411
Receiving objects: 100% (411/411), 1.06 GiB | 4.42 MiB/s, done.
Resolving deltas: 100% (182/182), done.
Checking connectivity... done.

$ cd metabase-deploy
$ git remote add heroku https://git.heroku.com/[my-metabase-app].git
$ heroku buildpacks:add https://github.com/metabase/metabase-heroku
Buildpack added. Next release on [my-metabase-app] will use:
  1. https://github.com/heroku/heroku-buildpack-jvm-common.git
  2. https://github.com/metabase/metabase-heroku
Run git push heroku master to create a new release using these buildpacks.
$ git push -f heroku master
Counting objects: 31, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (15/15), done.
Writing objects: 100% (31/31), 4.19 KiB | 0 bytes/s, done.
Total 31 (delta 17), reused 30 (delta 16)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> JVM Common app detected
remote: -----> Installing OpenJDK 1.8... done
remote: -----> Failed to detect app matching https://github.com/metabase/metabase-heroku buildpack
remote:        More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure
remote:
remote:  !     Push failed
remote: Verifying deploy...
remote:
remote: !	Push rejected to /[my-metabase-app].
remote:
To https://git.heroku.com//[my-metabase-app].git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com//[my-metabase-app].git'

Need to reset heroku repo to deploy new version

Hi,

Metabase is running on Heroku. When we upgrade, it's not enough to just push this code to the Heroku repo again:

->metabase-deploy git:(master) git remote -v
heroku https://git.heroku.com/woo-kpi-prod.git (fetch)
heroku https://git.heroku.com/woo-kpi-prod.git (push)
origin https://github.com/metabase/metabase-deploy.git (fetch)
origin https://github.com/metabase/metabase-deploy.git (push)
->metabase-deploy git:(master) git pull origin
Already up-to-date.
->metabase-deploy git:(master) git push -f heroku master
Everything up-to-date

Heroku seems to believe that nothing has changed, so if refuses to re-deploy.

Currently, the workaround is to reset the repo using: https://github.com/heroku/heroku-repo, then pushing to the Heroky repo again.

Perhaps there is a better way of doing this? If it's not possible to fix this problem from Metabase side, I think it would be a good idea to mention it in the docs.

Use this instead of metabase-deploy?

Just noticed this repo. Which seems to be a more up-to-date version on metabase-deploy. Should we use this repo going forward when upgrading heroku builds?

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.