Installation
Install this extension system-wide or inside a virtual environment by running the following command:
$ pip install modoboa-contacts
Edit the settings.py file of your modoboa instance and apply the following modifications:
add modoboa_contacts inside the MODOBOA_APPS variable like this:
MODOBOA_APPS = ( 'modoboa', 'modoboa.core', 'modoboa.lib', 'modoboa.admin', 'modoboa.relaydomains', 'modoboa.limits', 'modoboa.parameters', # Extensions here # ... 'modoboa_contacts', )Add the following at the end of the file:
from modoboa_contacts import settings as modoboa_contacts_settings modoboa_contacts_settings.apply(globals())
Finally, run the following commands to setup the database tables:
$ cd <modoboa_instance_dir> $ python manage.py migrate $ python manage.py collectstatic $ python manage.py load_initial_data
For developers
The frontend part of this plugin is developed with VueJS 2 and requires nodejs and webpack.
Once nodejs is installed on your system, run the following commands:
$ cd frontend $ npm install $ npm run serve
To update dist files (the ones that will be distributed with the plugin), run:
$ npm run build
Metadata
Release files for modoboa-contacts 1.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| modoboa_contacts-1.1.3.tar.gz | 981.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| modoboa_contacts-1.1.3-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 1.8 MB
Release files / modoboa_contacts-1.1.3.tar.gz
| Download URL | modoboa_contacts-1.1.3.tar.gz |
|---|---|
| Size | 981.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
968f62b2bd9cee301a58e5be4d132a43205375b1e6aeeb73c25b924a9d08b18f
|
|
BLAKE2b-256 checksum How to use checksums |
5172a2ac6c639802d91de0f6b6703a78565094b6351548d5710d37751cba5868
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 2, 2024.
Transparency logRelease files / modoboa_contacts-1.1.3-py2.py3-none-any.whl
| Download URL | modoboa_contacts-1.1.3-py2.py3-none-any.whl |
|---|---|
| Size | 796.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
27ab64731f812a4dd0810fcdae03664aba82bace04804dc3d27b24b27386de81
|
|
BLAKE2b-256 checksum How to use checksums |
cfadbb4d276bbd270b625a61d798125c8d304084cb0a2d0cb020a4e786faf2f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 2, 2024.
Transparency log