From 4ae67d6aa90479b3982d6b2003b395c812042fb3 Mon Sep 17 00:00:00 2001 From: emisargent <55098699+emisargent@users.noreply.github.com> Date: Sat, 18 Feb 2023 00:13:16 +0000 Subject: [PATCH] Update contributing guide --- CONTRIBUTING.rst | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 70a21949..749434b5 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -79,19 +79,15 @@ a `devcontainer`_ that installs required dependencies for you. - Fork Flask to your GitHub account by clicking the `Fork`_ button. - From your fork's repository page, click the green "Code" button and 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. +- Open a new terminal or run ``. .venv/bin/activate`` to activate the + python virtualenv. - Checkout a new branch and `start coding`_. -Note that if you reconnect to an existing codespace, you may need to -open a new terminal or run one of the following commands to activate -your python virtualenv: - -- Linux/macOS - - .. code-block:: text - - $ . .venv/bin/activate +Note that when you reconnect to an existing codespace, you may need to +reactivate your python virtualenv by opening a new terminal or running +the ``. .venv/bin/activate`` command. .. _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