Difference between revisions of ".env"

From PKC
Jump to navigation Jump to search
Line 2: Line 2:


=Sample .env=
=Sample .env=
Please note that there should not be any white space characters between the <code>key</code>, <code>=</code>, and <code>value</code>.
<syntaxhighlight lang="Bash">
<syntaxhighlight lang="Bash">
PORT_NUMBER=9352
PORT_NUMBER=9352

Revision as of 09:41, 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
HOST_NAME=localhost

References

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