Difference between revisions of ".env"

From PKC
Jump to navigation Jump to search
Line 5: Line 5:
<syntaxhighlight lang="Bash">
<syntaxhighlight lang="Bash">
PORT_NUMBER=9352
PORT_NUMBER=9352
HOST_NAME=localhost
MATOMO_PORT_NUMBER=32010
NC_PORT_NUMBER=32020
YOUR_DOMAIN=localhost
</syntaxhighlight>
</syntaxhighlight>


=References=
=References=

Revision as of 09:42, 27 August 2021

The .env[1] is a file dedicated to specify configuration information for a software project. In the context of PKC, we will try to converge all configurable parameters to be stored in this file. Other than your secretive information, such as password and private keys to your related systems, this file will be the only file you will need to change to specify customized parameters for your own system.

Sample .env

Please note that there should not be any white space characters between the key, =, and value.

PORT_NUMBER=9352
MATOMO_PORT_NUMBER=32010
NC_PORT_NUMBER=32020
YOUR_DOMAIN=localhost

References

  1. IBM, .env file, [1], last accessed: April 26, 2021