Giter Site home page Giter Site logo

netik / buzzer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bufferapp/buzzer

1.0 1.0 0.0 5.71 MB

A little buzzer app for running your own quizzes or game shows!

JavaScript 89.88% CSS 2.17% HTML 1.10% Shell 0.39% Dockerfile 0.15% SCSS 6.32%

buzzer's Introduction

gobuzzyourself A buzzer system to play games in the current pandemic. J. Adams 5/29/2020

This thing started as a buzzer system for the "Dirty Talk Game Show" and expanded into a bit of a project.`

This application is setup for a multi-procfile deploy on heroku. This is a mono repo that will deploy two apps.

It uses yarn workspaces, so enabing experimental workspace support via:

yarn config set workspaces-experimental true

...is required.

There are two workspaces stored in packages: gobuzzyourself-api/ gobuzzyourself-web/

Most of this is taken from:

https://elements.heroku.com/buildpacks/heroku/heroku-buildpack-multi-procfile

ENV vars (set these on Heroku)

api app

BUILD_ENV web-client PROCFILE packages/gobuzzyourself-web/Procfile

web app

BUILD_ENV api PROCFILE packages/gobuzzyourself-api/Procfile

Buildpacks

We need node first:

heroku buildpacks:add --index 1 heroku/nodejs --app gobuzzyourself-api heroku buildpacks:add --index 1 heroku/nodejs --app gobuzzyourself-web

...and the multifile...

heroku buildpacks:add -a gobuzzyourself-web https://github.com/heroku/heroku-buildpack-multi-procfile heroku buildpacks:add -a gobuzzyourself-api https://github.com/heroku/heroku-buildpack-multi-procfile

Deploy

Have git remotes setup.

  heroku-api	https://git.heroku.com/gobuzzyourself-api.git (fetch)
  heroku-api	https://git.heroku.com/gobuzzyourself-api.git (push)
  heroku-web-client	https://git.heroku.com/gobuzzyourself-web.git (fetch)
  heroku-web-client	https://git.heroku.com/gobuzzyourself-web.git (push)

You do ths via:

  git remote add heroku-api https://git.heroku.com/gobuzzyourself-api.git
  git remote add heroku-web-client https://git.heroku.com/gobuzzyourself-web.git (fetch)

...then do:

   git push heroku-web-client master
   git push heroku-api master

Heroku should do the rest.

buzzer's People

Contributors

netik avatar djfarrelly avatar colinscape avatar

Stargazers

Alex Rowe avatar

Watchers

James Cloos avatar

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.