Giter VIP home page Giter VIP logo

dev-ops-bugsnag-demo's Introduction

Dev Ops Bug Snag Demo: SÜT

Configuring the application

copy config.template.js to config.js (can do this in file system too)

$ cp config.template.js config.js

Members of the project can see the firebase values needed by adding this path to the end of your firebase console url /project/web-engineering-spring-2019/settings/general/

You can also find these values on the Firebase console in "Project Settings" under the "General" tab

Config Key Breakdown

Config Key Description
API_KEY The property called "Web API Key" in the Firebase settings general tab
AUTH_DOMAIN Your "Project ID" from the Firebase settings general tab appended with ".firebaseapp.com", i.e. your-project-id.firebaseapp.com
DATABASE_URL Found by going to "Database" then "Realtime Database" in the Firebase console, should be near the top of the page next to a link icon, takes the format of https://your-project-id.firebaseio.com/
BUGSNAG_KEY The key bugsnag gives you to track your errors

Environment Variables

You can also pass these values in as environment variables to the Node application like so

# run the project locally
$ API_KEY='<YOUR_API_KEY_HERE>' AUTH_DOMAIN='<YOUR_AUTH_DOMAIN_HERE>' npm run start
# ...or build the project
$ API_KEY='<YOUR_API_KEY_HERE>' AUTH_DOMAIN='<YOUR_AUTH_DOMAIN_HERE>' npm run build

Running the application

Run these commands in the base directory of the application

Install the dependencies

$ npm install

Run the application locally

$ npm run start

dev-ops-bugsnag-demo's People

Contributors

scioffi avatar btarr avatar

Watchers

 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.