You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+18-24
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,6 @@
4
4
5
5
[FragDenStaat.de](https://fragdenstaat.de) is the German instance of [Froide](https://github.com/okfde/froide) – a freedom of information portal software.
6
6
7
-
8
7
## Development environment
9
8
10
9
FragDenStaat.de is a Django app with a PostgreSQL+PostGIS database and elasticsearch search service.
@@ -17,7 +16,8 @@ If you do not want to use Docker, you can install this like any Django project w
17
16
FragDenStaat.de is a Django project that uses the core `froide` project and other `froide` Django apps as plugins. These froide and related apps are installed from repositories and it makes sense to set them up on your dev machine.
18
17
19
18
You need to have installed:
20
-
- Python 3.8+
19
+
20
+
- Python 3.10+
21
21
- yarn
22
22
- GDAL for Django's GeoDjango
23
23
- freetype and imagemagick
@@ -32,14 +32,14 @@ All of these dependencies should be installable via package managers (e.g. `brew
32
32
33
33
To make the setup easier the following script (`devsetup.sh`) creates a virtual environment, sets up and installs all repos of the Python backend and installs and links all repos of the JavaScript frontend build.
@@ -50,19 +50,19 @@ You can run your own Postgres+PostGIS database and Elasticsearch service or run
50
50
51
51
You need [Docker Desktop](https://docs.docker.com/desktop). Make sure Docker is running and use the following command:
52
52
53
-
```
54
-
docker compose -f docker-compose.dev.yml up
53
+
```bash
54
+
docker compose -f compose-dev.yaml up
55
55
```
56
56
57
-
This will start Postgres and Elasticsearch and listen on port 5432 and 9200 respectively. You can adjust the port mapping in the `docker-compose.dev.yml`.
57
+
This will start Postgres and Elasticsearch and listen on port 5432 and 9200 respectively. You can adjust the port mapping in the `compose-dev.yaml`.
58
58
59
59
### Setup database
60
60
61
61
If you need to adjust settings, you can copy the `fragdenstaat_de/settings/local_settings.py.example` to `fragdenstaat_de/settings/local_settings.py` and edit it.
0 commit comments