Skip to content

Commit

Permalink
Move cd step to after installing dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
brylie authored Oct 27, 2022
1 parent b1bf266 commit 02b4346
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,24 +65,25 @@ To develop the project, activate the virtual environment with the following comm
poetry shell
```

### Change into the project directory
### Install pre-commit

Once you have installed the project dependencies and activated the virtual environment, change into the project directory.
We use `pre-commit` to run code-quality checks before every commit. Install `pre-commit` in your local project by running the following command (from within the virtual environment.)

```sh
cd project/
pre-commit install
```

Once you are in the project directory, you can continue the following sections of this guide.

### Install pre-commit
### Change into the project directory

We use `pre-commit` to run code-quality checks before every commit. Install `pre-commit` in your local project by running the following command (from within the virtual environment.)
Once you have installed the project dependencies and activated the virtual environment, change into the project directory.

```sh
pre-commit install
cd project/
```

Once you are in the project directory, you can continue the following sections of this guide.

### Run migrations

To create the (initial) database structure, run migrations as follows:
Expand Down

0 comments on commit 02b4346

Please sign in to comment.