forked from orbit-oss/flask
Adding Fish commands to docs
This commit is contained in:
parent
66f2ac6696
commit
afe77feef3
9 changed files with 155 additions and 0 deletions
|
|
@ -54,6 +54,14 @@ to tell your terminal the application to work with by exporting the
|
|||
$ flask run
|
||||
* Running on http://127.0.0.1:5000/
|
||||
|
||||
.. group-tab:: Fish
|
||||
|
||||
.. code-block:: text
|
||||
|
||||
$ set -x FLASK_APP hello
|
||||
$ flask run
|
||||
* Running on http://127.0.0.1:5000/
|
||||
|
||||
.. group-tab:: CMD
|
||||
|
||||
.. code-block:: text
|
||||
|
|
@ -166,6 +174,13 @@ variable to ``development`` before calling ``flask run``.
|
|||
$ export FLASK_ENV=development
|
||||
$ flask run
|
||||
|
||||
.. group-tab:: Fish
|
||||
|
||||
.. code-block:: text
|
||||
|
||||
$ set -x FLASK_ENV development
|
||||
$ flask run
|
||||
|
||||
.. group-tab:: CMD
|
||||
|
||||
.. code-block:: text
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue