Skip to content

Commit 108d0e2

Browse files
authored
Merge pull request #304 from bjester/hmm-docs
Documentation clarity updates
2 parents db6bc80 + dc8cc9e commit 108d0e2

4 files changed

Lines changed: 16 additions & 10 deletions

File tree

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,6 @@ target/
7171
# IPython Notebook
7272
.ipynb_checkpoints
7373

74-
# pyenv
75-
.python-version
76-
7774
# celery beat schedule file
7875
celerybeat-schedule
7976

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.10

README.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Morango
22

3-
[![build](https://github.com/learningequality/morango/actions/workflows/tox.yml/badge.svg?branch=master)](https://github.com/learningequality/morango/actions)
4-
[![image](http://codecov.io/github/learningequality/morango/coverage.svg?branch=master)](http://codecov.io/github/learningequality/morango?branch=master)
3+
[![Python tests](https://github.com/learningequality/morango/actions/workflows/tox.yml/badge.svg?branch=release-v0.9.x)](https://github.com/learningequality/morango/actions)
4+
[![PyPI](https://img.shields.io/pypi/v/morango.svg?color=blue)](https://pypi.org/project/morango/)
55
[![image](https://readthedocs.org/projects/morango/badge/?version=latest)](http://morango.readthedocs.org/en/latest/)
66

77
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
1111
- A certificate-based authentication system to protect privacy and integrity of data
1212
- A change-tracking system to support calculation of differences between databases across low-bandwidth connections
1313
- A set of constructs to support data partitioning
14+
- Support for SQLite and PostgreSQL
1415

1516
## Developer documentation
1617

@@ -20,29 +21,36 @@ See [morango.readthedocs.io](https://morango.readthedocs.io) for documentation o
2021

2122
To start contributing to Morango, first make sure you [have `uv` installed](https://docs.astral.sh/uv/getting-started/installation/).
2223

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`:
2425
```bash
25-
uv venv -p 3.10
26+
uv venv
2627
```
2728

2829
Then install dependencies:
2930
```bash
3031
uv sync --all-extras
3132
```
3233

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`.
3435

3536
Finally, set up pre-commit hooks:
3637
```bash
3738
prek install # with -f to reinstall
3839
```
3940

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/`.
47+
4048
### Docs
4149

4250
To build and edit the docs, run:
4351

4452
```bash
45-
# install requirements
53+
# install requirements (if necessary)
4654
uv sync --extra docs
4755

4856
# build docs

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
55
[project]
66
name = "morango"
77
dynamic = ["version"]
8-
description = "Pure Python sqlite-based Django DB replication engine."
8+
description = "A pure Python DB replication engine for Django that supports SQLite and PostgreSQL."
99
authors = [{name = "Learning Equality", email = "dev@learningequality.org"}]
1010
maintainers = [{name = "Learning Equality", email = "dev@learningequality.org"}]
1111
readme = "README.md"

0 commit comments

Comments
 (0)