GithubHelp home page GithubHelp logo

code-of-practice / render-gateway Goto Github PK

View Code? Open in Web Editor NEW

This project forked from khan/render-gateway

0.0 0.0 0.0 3.47 MB

The core implementation of our render-gateway service

License: MIT License

JavaScript 100.00%

render-gateway's Introduction

render-gateway

codecov Dependabot Status Node CI

The core implementation of a render-gateway service.

Development

  1. Clone the repo
  2. yarn install
  3. yarn start

Once started, you can make code changes. babel-watch takes care of restarting the server automatically to incorporate your changes as you go.

For more information on developing, contributing, and releasing, please see our CONTRIBUTING document.

Environment Variables

Some behaviors are controlled via environment variables.

Variable Purpose
GAE_SERVICE This is set by Google Cloud AppEngine in production. It is used to determine the name of the gateway that is executing (see get-gateway-info.js).
GAE_VERSION This is set by Google Cloud AppEngine in production. It is used to determine the version of the gateway that is executing (see get-gateway-info.js).
KA_ALLOW_HEAPDUMP During development mode, we support importing heapdump so that heap snapshots can be created on-the-fly. Normally, this is not supported in production. Set KA_ALLOW_HEAPDUMP to enable this during production or testing.
KA_IS_DEV_SERVER This value is ignored in favour of NODE_ENV. However, if the value of NODE_ENV is not recognized, or the variable does not exist, KA_IS_DEV_SERVER is used to differentiate between production or development mode.
KA_LOG_LEVEL The default log level is debug. Use this environment variable to specify a different level. Valid options are listed in get-log-level.js.
NODE_ENV This indicates when certain development or test-mode things should be available. Possible values are test, dev, development, prod, and production. If NODE_ENV is not one of these values, we fallback to KA_IS_DEV_SERVER to determine between production and development.

Code of Conduct

We believe in fostering an open, welcoming, and collaborative environment for all. Please read and abide by our CODE OF CONDUCT.

render-gateway's People

Contributors

benjaminjkraft avatar dependabot-preview[bot] avatar jeresig avatar somewhatabstract 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.