Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Address book for Modoboa

Project description

travis 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 developpers

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 dev

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.

Files for modoboa-contacts, version 0.7.3
Filename, size File type Python version Upload date Hashes
Filename, size modoboa_contacts-0.7.3-py2.py3-none-any.whl (666.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size modoboa-contacts-0.7.3.tar.gz (675.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page