Skip to content
Myr

update pycharm instructions

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Ngalim Siregar · committed by Ngalim Siregar · parent 9520fbd · Browse files · 2 files+3 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+3 added−4 removed

  • other:+3 added−4 removed

2 files+3 added−4 removed

modified:docs/_static/pycharm-runconfig.pngbinary

A binary file, modified.

modified:docs/cli.rst+3 added-4 removed
357 unmodified lines
358There's quite a few options to change, but once we've done it for one command,359we can easily copy the entire configuration and make a single tweak to give us360access to other commands, including any custom ones you may implement yourself.361362For the *Script* input (**A**), navigate to your project's virtual environment.363Within that folder, pick the ``flask`` executable which will reside in the364``bin`` folder, or in the ``Scripts`` on Windows.362Since PyCharm 2017.3, you can run modules instead of needing to find ``flask``363executable. For the *Module name* input (**A**), you just need to input ``flask``.364366The *Script Parameter* field (**B**) is set to the CLI command you to execute.365The *Parameters* field (**B**) is set to the CLI command you to execute.366In this example we use ``run``, which will run the development server.367368You can skip this next step if you're using :ref:`dotenv`. We need to add an369environment variable (**C**) to identify our application. Click on the browse
13 unmodified lines