diff options
author | 2021-05-17 20:37:52 +0100 | |
---|---|---|
committer | 2021-05-17 20:37:52 +0100 | |
commit | 9071e79c9a3e7d7c1d536b2230c752f139756de5 (patch) | |
tree | 435740735dd259feaaa9c4cb81c79a0bf70920f1 /pydis_site/apps/content/resources | |
parent | Merge pull request #504 from doublevcodes/patch-1 (diff) | |
parent | Update project dep guide to only reference poetry (diff) |
Merge pull request #505 from python-discord/poetry-and-python-3.9
Diffstat (limited to 'pydis_site/apps/content/resources')
-rw-r--r-- | pydis_site/apps/content/resources/guides/pydis-guides/contributing/installing-project-dependencies.md | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/pydis_site/apps/content/resources/guides/pydis-guides/contributing/installing-project-dependencies.md b/pydis_site/apps/content/resources/guides/pydis-guides/contributing/installing-project-dependencies.md index ba5b3d1b..653b71aa 100644 --- a/pydis_site/apps/content/resources/guides/pydis-guides/contributing/installing-project-dependencies.md +++ b/pydis_site/apps/content/resources/guides/pydis-guides/contributing/installing-project-dependencies.md @@ -17,13 +17,13 @@ You should have already cloned your fork as described in [**Cloning a Repository ## Installing dependencies with PyCharm 1. Load up your project in PyCharm. 2. Go to the Project Settings by clicking `File`, then `Settings...`. Alternatively, use the shortcut key: `Ctrl+Alt+S` (`command+comma` on Mac OS). -3. Install the [poetry plugin](https://plugins.jetbrains.com/plugin/14307-poetry). (**Note:** This is not required for the site) -4. Navigate to `Project Interpreter`, then click the gear icon and click `Add`. - -5. If installing dependencies for the site, click `Pipenv Environment`, otherwise, click `Poetry Environment`, then click `OK`. - -6. PyCharm will automatically install the packages required into a virtual environment. - +3. Install the [poetry plugin](https://plugins.jetbrains.com/plugin/14307-poetry). +4. Navigate to `Project Interpreter`, then click the gear icon and click `Add`.<br/> +<br/> +5. Click `Poetry Environment`, then click `OK`.<br/> +<br/> +6. PyCharm will automatically install the packages required into a virtual environment.<br/> + --- @@ -32,13 +32,7 @@ You should have already cloned your fork as described in [**Cloning a Repository 2. Install project and development dependencies. Remember to also set up pre-commit hooks to ensure your pushed commits will never fail linting. --- -- Site: -```shell -$ pipenv sync --dev -$ pipenv run precommit -``` -- Other projects: ```shell $ poetry install $ poetry run task precommit |