Skip to content

Commit 011c534

Browse files
committed
docs: add note on spark env
1 parent 0e08679 commit 011c534

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

user_guide_src/source/general/environments.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ the value provided in ``$_SERVER['CI_ENVIRONMENT']``, otherwise defaulting to
2424
It has special conditions built into the framework at various places to assist with that.
2525
You can't use it for your development.
2626

27+
.. note:: You can check the current environment by ``spark env`` command::
28+
29+
> php spark env
30+
2731
.env
2832
----
2933

@@ -33,6 +37,10 @@ The simplest method to set the variable is in your :doc:`.env file </general/con
3337
3438
CI_ENVIRONMENT = development
3539
40+
.. note:: You can change the ``CI_ENVIRONMENT`` value in **.env** file by ``spark env`` command::
41+
42+
> php spark env production
43+
3644
Apache
3745
------
3846

0 commit comments

Comments
 (0)