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
Morango is a pure-Python database replication engine for Django that supports peer-to-peer syncing of data. It is structured as a Django app that can be included in projects to make specific application models syncable.
@@ -11,6 +11,7 @@ Developed in support of the [Kolibri](https://github.com/learningequality/kolibr
11
11
- A certificate-based authentication system to protect privacy and integrity of data
12
12
- A change-tracking system to support calculation of differences between databases across low-bandwidth connections
13
13
- A set of constructs to support data partitioning
14
+
- Support for SQLite and PostgreSQL
14
15
15
16
## Developer documentation
16
17
@@ -20,29 +21,36 @@ See [morango.readthedocs.io](https://morango.readthedocs.io) for documentation o
20
21
21
22
To start contributing to Morango, first make sure you [have `uv` installed](https://docs.astral.sh/uv/getting-started/installation/).
22
23
23
-
Create a virtual environment, with at least python 3.9:
24
+
Create a virtual environment, which will create it in the `.venv/` directory, with the python version defined in `.python-version`:
24
25
```bash
25
-
uv venv -p 3.10
26
+
uv venv
26
27
```
27
28
28
29
Then install dependencies:
29
30
```bash
30
31
uv sync --all-extras
31
32
```
32
33
33
-
If you get during installation, you may need to install system packages such as `openssl` and `libssl-dev`.
34
+
If you get errors during installation, you may need to install system packages such as `openssl` and `libssl-dev`.
34
35
35
36
Finally, set up pre-commit hooks:
36
37
```bash
37
38
prek install # with -f to reinstall
38
39
```
39
40
41
+
### Building
42
+
Building the project is as easy as:
43
+
```bash
44
+
uv build
45
+
```
46
+
Afterwards, you'll find a source archive and wheel file in `dist/`.
0 commit comments