Difference between revisions of ".env"
Jump to navigation
Jump to search
Bkoo>Admin |
|||
(10 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
The '''.env'''<ref>IBM, .env file, [https://www.ibm.com/docs/en/aix/7.2?topic=files-env-file], last accessed: April 26, 2021</ref> 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. | The '''.env'''<ref>IBM, .env file, [https://www.ibm.com/docs/en/aix/7.2?topic=files-env-file], last accessed: April 26, 2021</ref> 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 <code>key</code>, such as '''PORT_NUMBER''', <code>=</code>, and <code>value</code>, i.e. '''9352'''. | |||
<syntaxhighlight lang="Bash"> | |||
PORT_NUMBER=9352 | |||
MATOMO_PORT_NUMBER=32010 | |||
NC_PORT_NUMBER=32020 | |||
YOUR_DOMAIN=localhost | |||
</syntaxhighlight> | |||
=References= | =References= |
Latest revision as of 09:44, 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
, such as PORT_NUMBER, =
, and value
, i.e. 9352.
PORT_NUMBER=9352
MATOMO_PORT_NUMBER=32010
NC_PORT_NUMBER=32020
YOUR_DOMAIN=localhost