Skip to content

Commit 7e2ba57

Browse files
authored
Merge pull request #224 from hughrun/pyproject
Update docs to replace `requirements.txt` with `pyproject.toml`
2 parents 1bbe24e + d62cb1a commit 7e2ba57

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

content/contributing/install-dev.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Order: 5
88

99
These instructions assume you are developing BookWyrm using Docker. You'll need to [install Docker](https://docs.docker.com/engine/install/) and [docker-compose](https://docs.docker.com/compose/install/) to get started.
1010

11+
_If you are contributing to BookWyrm in a dockerless development environment we would love for you to [help us update this guide](/documentation.html) to include instructions for setting up a dockerless development environment_.
12+
1113
## Setting up the developer environment
1214

1315
### Get the code

content/running_bookwyrm/install-prod-dockerless.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ chown www-data:www-data /var/cache/nginx
6565
- Make the python venv directory in your install dir:
6666
`python3 -m venv ./venv`
6767
- Install bookwyrm python dependencies with pip:
68-
`./venv/bin/pip3 install -r requirements.txt`
68+
`./venv/bin/pip3 install --upgrade "pip>=25.1.0"`
69+
`./venv/bin/pip3 install --group main`
6970
- Make the bookwyrm postgresql database. Make sure to change the password to what you set in the `.env` config:
7071
`sudo -i -u postgres psql`
7172

content/running_bookwyrm/updating-dockerless.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ This guide assumes that your setup followed the latest [Installation without Doc
1212
Run all the following commands, except otherwise noted, as the `bookwyrm` user:
1313

1414
1. Pull in the latest changes on the `production` branch with `git pull`
15-
2. Install potential new Python dependencies `venv/bin/pip install -r requirements.txt`
15+
2. Install potential new Python dependencies:
16+
- `./venv/bin/pip3 install --upgrade "pip>=25.1.0"`
17+
- `./venv/bin/pip3 install --group main`
1618
3. Compile the themes with `venv/bin/python3 manage.py compile_themes`
1719
4. Collecting all the static files with `venv/bin/python3 manage.py collectstatic --no-input` – this also uploads them to [external storage](/external-storage.html) if you have this configured
1820
5. Migrate the database (it's advisable to create a backup before) with `venv/bin/python3 manage.py migrate`

0 commit comments

Comments
 (0)