lphuberdeau / decent-visualizer

A visualizer for .shot files

Home Page:https://visualizer.coffee/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Decent Visualizer

Ruby Tests

A visualizer for .shot files created by the Decent Espresso Machine.

Visualizer is a relatively standard Ruby on Rails application with a Postgres database.

Read all about the v2 version, and feel free to join Visualizer Forum.

API

There is an API available. If something you would like is not there, please open a new Issue detailing your wishes.

You can read the source code or the API documentation provided by @eriklenaerts.

Authenticatication is possible via OAuth 2.0 authorization code flow with read and write scopes.

All endpoints return JSON.

If you want to create OAuth applications please contact me.

Dependencies

  • Ruby (Check .ruby-version for specific version)
    • Bundler (gem install bundler)
  • Postgres (>= 12)

Configuration

For local development, there is nothing to configure.

When it comes to deploying, you will need to set some environment variables, namely:

  • CLOUDINARY_URL
  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • AWS_REGION
  • BUCKET_URL

Setup

  • Install Ruby gems
    $ bundle install
  • Setup database
    $ ./bin/rails db:setup
  • Running the server
    $ ./bin/dev
  • Running the tests
    $ ./bin/rails test

Getting help

If you have questions, concerns, bug reports, etc., please open a new GitHub Issue.

Getting involved

If you're a coffee fanatic, own a Decent Espresso machine, want to learn Ruby, or want to help in whatever way you can, you're more than welcome to get involved!

But please read the Contribution Guidelines first 😊

About

A visualizer for .shot files

https://visualizer.coffee/

License:MIT License


Languages

Language:Ruby 49.9%Language:Slim 39.7%Language:JavaScript 6.1%Language:HTML 3.6%Language:CSS 0.7%Language:Shell 0.0%