Hello, please sign in or register
You are here: Home

Environment Variables

Environment variables are simple pieces of code that you can define and use in your application. For instance, say you have a Google API key and you have tons of google maps on your site. You could always repeat the key or you could create a simple reference to it. This is known as a Bespoke Environement variable.

Bespoke

Make our environment variable accessible in code. Write it's name in brackets prefixed by the dollar sign '$', e.g.
[$GMAP_KEY] 
Outputs something like
ABQIAAAAgEnFK9LBBlnQ8JEcGLrd9BQWeePcs1xhcyi0TPysE3tuu32bghS-gXaUslwgmRbETPbafVBkBTjymA 

Default

These are environment variables that have special names and are used by the Knarly servers. A common use for this is authentication. Below are a list of services Knarly supports and requires unique keys for.

Categories




Search




Help support the Knarly project

Where does the money go?