BUILD.md: Add instructions to clone the git repo

This commit is contained in:
deeplow 2023-10-12 08:42:37 +01:00
parent b11920a3af
commit 18898992f1
No known key found for this signature in database
GPG key ID: 577982871529A52A
2 changed files with 51 additions and 0 deletions

View file

@ -22,11 +22,19 @@ pipx install poetry
After this, restart the terminal window, for the `poetry` command to be in your After this, restart the terminal window, for the `poetry` command to be in your
`$PATH`. `$PATH`.
Clone this repository:
```
git clone https://github.com/freedomofpress/dangerzone/
```
Change to the `dangerzone` folder, and install the poetry dependencies: Change to the `dangerzone` folder, and install the poetry dependencies:
> **Note**: due to an issue with [poetry](https://github.com/python-poetry/poetry/issues/1917), if it prompts for your keyring, disable the keyring with `keyring --disable` and run the command again. > **Note**: due to an issue with [poetry](https://github.com/python-poetry/poetry/issues/1917), if it prompts for your keyring, disable the keyring with `keyring --disable` and run the command again.
``` ```
cd dangerzone
poetry install poetry install
``` ```
@ -70,11 +78,18 @@ Install Poetry using `pipx`:
pipx install poetry pipx install poetry
``` ```
Clone this repository:
```
git clone https://github.com/freedomofpress/dangerzone/
```
Change to the `dangerzone` folder, and install the poetry dependencies: Change to the `dangerzone` folder, and install the poetry dependencies:
> **Note**: due to an issue with [poetry](https://github.com/python-poetry/poetry/issues/1917), if it prompts for your keyring, disable the keyring with `keyring --disable` and run the command again. > **Note**: due to an issue with [poetry](https://github.com/python-poetry/poetry/issues/1917), if it prompts for your keyring, disable the keyring with `keyring --disable` and run the command again.
``` ```
cd dangerzone
poetry install poetry install
``` ```
@ -307,6 +322,13 @@ Install [Docker Desktop](https://www.docker.com/products/docker-desktop). Make s
Install the latest version of Python 3.11 [from python.org](https://www.python.org/downloads/macos/), and make sure `/Library/Frameworks/Python.framework/Versions/3.11/bin` is in your `PATH`. Install the latest version of Python 3.11 [from python.org](https://www.python.org/downloads/macos/), and make sure `/Library/Frameworks/Python.framework/Versions/3.11/bin` is in your `PATH`.
Clone this repository:
```
git clone https://github.com/freedomofpress/dangerzone/
cd dangerzone
```
Install Python dependencies: Install Python dependencies:
```sh ```sh
@ -368,9 +390,16 @@ Install [poetry](https://python-poetry.org/). Open PowerShell, and run:
python -m pip install poetry python -m pip install poetry
``` ```
Install git from [here](https://git-scm.com/download/win), open a Windows terminal (`cmd.exe`) and clone this repository:
```
git clone https://github.com/freedomofpress/dangerzone/
```
Change to the `dangerzone` folder, and install the poetry dependencies: Change to the `dangerzone` folder, and install the poetry dependencies:
``` ```
cd dangerzone
poetry install poetry install
``` ```

View file

@ -206,11 +206,19 @@ pipx install poetry
After this, restart the terminal window, for the `poetry` command to be in your After this, restart the terminal window, for the `poetry` command to be in your
`$PATH`. `$PATH`.
Clone this repository:
```
git clone https://github.com/freedomofpress/dangerzone/
```
Change to the `dangerzone` folder, and install the poetry dependencies: Change to the `dangerzone` folder, and install the poetry dependencies:
> **Note**: due to an issue with [poetry](https://github.com/python-poetry/poetry/issues/1917), if it prompts for your keyring, disable the keyring with `keyring --disable` and run the command again. > **Note**: due to an issue with [poetry](https://github.com/python-poetry/poetry/issues/1917), if it prompts for your keyring, disable the keyring with `keyring --disable` and run the command again.
``` ```
cd dangerzone
poetry install poetry install
``` ```
@ -255,11 +263,18 @@ Install Poetry using `pipx`:
pipx install poetry pipx install poetry
``` ```
Clone this repository:
```
git clone https://github.com/freedomofpress/dangerzone/
```
Change to the `dangerzone` folder, and install the poetry dependencies: Change to the `dangerzone` folder, and install the poetry dependencies:
> **Note**: due to an issue with [poetry](https://github.com/python-poetry/poetry/issues/1917), if it prompts for your keyring, disable the keyring with `keyring --disable` and run the command again. > **Note**: due to an issue with [poetry](https://github.com/python-poetry/poetry/issues/1917), if it prompts for your keyring, disable the keyring with `keyring --disable` and run the command again.
``` ```
cd dangerzone
poetry install poetry install
``` ```
@ -308,9 +323,16 @@ Install [poetry](https://python-poetry.org/). Open PowerShell, and run:
python -m pip install poetry python -m pip install poetry
``` ```
Install git from [here](https://git-scm.com/download/win), open a Windows terminal (`cmd.exe`) and clone this repository:
```
git clone https://github.com/freedomofpress/dangerzone/
```
Change to the `dangerzone` folder, and install the poetry dependencies: Change to the `dangerzone` folder, and install the poetry dependencies:
``` ```
cd dangerzone
poetry install poetry install
``` ```