Skip to content

Commit

Permalink
Added .env.template
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreRaybaut committed Nov 23, 2023
1 parent 1875929 commit 42df30f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
File renamed without changes.
10 changes: 8 additions & 2 deletions doc/dev/contribute.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,15 @@ development environment. The easiest way to do this is to use `virtualenv
<http://pypi.python.org/pypi/virtualenv>`_ and `pip
<http://pypi.python.org/pypi/pip>`_.

Some environment variables are required to be set before using the project from
within Visual Studio Code (used in `launch.json` and `tasks.json`). These are:
Some parameters are required to be set before using the project from within
Visual Studio Code (used in `launch.json` and `tasks.json`). These are:

* ``PPSTACK_PYTHONEXE``: The path to the Python interpreter to use. This is
used to launch the application from within Visual Studio Code. If not set,
the default Python interpreter will be used.

* `.env` file: This file is used to set environment variables for the
application. It is used to set the ``PYTHONPATH`` environment variable to
the root of the project. This is required to be able to import the project
modules from within Visual Studio Code. To create this file, copy the
``.env.template`` file to ``.env`` (and eventually add your own paths).

0 comments on commit 42df30f

Please sign in to comment.