Update contributing guide

This commit is contained in:
emisargent 2023-02-18 00:13:16 +00:00
parent 8ae3ed8a1b
commit 4ae67d6aa9

View file

@ -79,19 +79,15 @@ a `devcontainer`_ that installs required dependencies for you.
- Fork Flask to your GitHub account by clicking the `Fork`_ button. - Fork Flask to your GitHub account by clicking the `Fork`_ button.
- From your fork's repository page, click the green "Code" button and - From your fork's repository page, click the green "Code" button and
then "Create codespace on main". then "Create codespace on main".
- Wait for the codespace to load and the "postAttachCommand" to - Wait for the codespace to load and the "postCreateCommand" to
finish running. finish running.
- Open a new terminal or run ``. .venv/bin/activate`` to activate the
python virtualenv.
- Checkout a new branch and `start coding`_. - Checkout a new branch and `start coding`_.
Note that if you reconnect to an existing codespace, you may need to Note that when you reconnect to an existing codespace, you may need to
open a new terminal or run one of the following commands to activate reactivate your python virtualenv by opening a new terminal or running
your python virtualenv: the ``. .venv/bin/activate`` command.
- Linux/macOS
.. code-block:: text
$ . .venv/bin/activate
.. _GitHub Codespaces: https://docs.github.com/en/codespaces .. _GitHub Codespaces: https://docs.github.com/en/codespaces
.. _devcontainer: https://docs.github.com/en/codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container-configuration/introduction-to-dev-containers .. _devcontainer: https://docs.github.com/en/codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container-configuration/introduction-to-dev-containers