Skip to main content

Address book for Modoboa

Project description

gha codecov

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

modoboa-contacts-1.1.2.tar.gz (973.2 kB view details)

Uploaded Source

Built Distribution

modoboa_contacts-1.1.2-py2.py3-none-any.whl (788.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file modoboa-contacts-1.1.2.tar.gz.

File metadata

  • Download URL: modoboa-contacts-1.1.2.tar.gz
  • Upload date:
  • Size: 973.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for modoboa-contacts-1.1.2.tar.gz
Algorithm Hash digest
SHA256 7f5d0c83ad00610fa49ae885588a95014ab7200dc31208459d2cf7661e509506
MD5 77da17ddcb30ae9e0917d208de05f758
BLAKE2b-256 12392d813a7c1403c7640412433ab58c33f23661c117d3fce551e34a6bbc389f

See more details on using hashes here.

File details

Details for the file modoboa_contacts-1.1.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for modoboa_contacts-1.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3e83a18f9c1103883c7dac445368ceed66eb536e75f7547fca95b1484ead62c2
MD5 25095d7154f8bd11477bf0f187c78796
BLAKE2b-256 5c2342f47761b6e7243ebcc1bf43d7eb4f2fee2958fc1ae9d038987f37e15c61

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page