Browse Source

update pycharm instructions

pull/2541/head
Ngalim Siregar 7 years ago
parent
commit
601cd90fdb
No known key found for this signature in database
GPG Key ID: C866A5FD37F0EBB4
  1. BIN
      docs/_static/pycharm-runconfig.png
  2. 7
      docs/cli.rst

BIN
docs/_static/pycharm-runconfig.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 KiB

After

Width:  |  Height:  |  Size: 54 KiB

7
docs/cli.rst

@ -359,11 +359,10 @@ There's quite a few options to change, but once we've done it for one command,
we can easily copy the entire configuration and make a single tweak to give us we can easily copy the entire configuration and make a single tweak to give us
access to other commands, including any custom ones you may implement yourself. access to other commands, including any custom ones you may implement yourself.
For the *Script* input (**A**), navigate to your project's virtual environment. Since PyCharm 2017.3, you can run modules instead of needing to find ``flask``
Within that folder, pick the ``flask`` executable which will reside in the executable. For the *Module name* input (**A**), you just need to input ``flask``.
``bin`` folder, or in the ``Scripts`` on Windows.
The *Script Parameter* field (**B**) is set to the CLI command you to execute. The *Parameters* field (**B**) is set to the CLI command you to execute.
In this example we use ``run``, which will run the development server. In this example we use ``run``, which will run the development server.
You can skip this next step if you're using :ref:`dotenv`. We need to add an You can skip this next step if you're using :ref:`dotenv`. We need to add an

Loading…
Cancel
Save