skip to navigation
skip to content

modoboa-contacts 0.4.0

Address book for Modoboa


Install this extension system-wide or inside a virtual environment by running the following command:

$ pip install modoboa-contacts

Edit the file of your modoboa instance and apply the following modifications:

  • add modoboa_contacts inside the MODOBOA_APPS variable like this:

        # Extensions here
        # ...
  • Add the following at the begining of the file:

    from modoboa_contacts.settings import *
  • Add webpack_loader to the INSTALLED_APPS variable

  • Add the following lines:

        'CONTACTS': {
            'CACHE': not DEBUG,
            'BUNDLE_DIR_NAME': 'modoboa_contacts/',
            'STATS_FILE': CONTACTS_STATS_FILES.get("dev" if DEBUG else "prod"),
            'IGNORE': ['.+\.hot-update.js', '.+\.map']

Finally, run the following commands to setup the database tables:

$ cd <modoboa_instance_dir>
$ python migrate
$ python collectstatic
$ python 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
File Type Py Version Uploaded on Size
modoboa-contacts-0.4.0.tar.gz (md5) Source 2017-07-29 562KB