Skip to main content

A CRM software using the django web framework

Project description

Creme is a free/open-source Customer Relationship Management software developed by Hybird (www.hybird.org).

It is designed with an entities/relationships architecture, and is highly configurable, which allows adapting Creme to many workflows.

Detailed view of a contact

It provides apps (ie: modules) to manage:

  • Contacts & organisations.
  • Documents & folders.
  • Activities (meetings, phone calls, tasks...) with a calendar.
  • Products & services.
  • Invoices, quotes, sales orders & credit notes.
  • Opportunities.
  • Commercial actions.
  • Email campaigns.
  • Reports.
  • Tickets.
  • Alerts, todos & memos.
  • Geolocation.
  • ...

Lots of aspects can be configured through a graphical interface :

  • Detailed views for entities are built from blocks ; you can configure which blocks are displayed, you can create your own the blocks (chose the fields which are used)...
  • You can configure the columns of the list views (columns can be related to fields, custom-fields, relationships...), and filter the lines with powerful rules.
  • You can create your custom-fields, or hide existing fields.
  • You can choose which fields of forms are used, and group them like you want.
  • You can create your own types of relationship, adapted to your business.
  • ...

Creme has powerful tools to filter, search or import data. it provides a credential system with some cool features (teams, allow/forbid entities from a filter on fields/relationships, ...).

If you have very specific needs, Creme can also be used as a CRM framework to code your own CRM.

Creme is coded in Python, and uses the Django web framework (http://www.djangoproject.com/) and the JQuery javascript library (http://jquery.com/).

You can find more information on Creme on its official website: http://cremecrm.com/ You can ask your questions in our forum: https://www.cremecrm.com/forum/index.php (there is an english section)

Current translations

  • English (could probably be improved)
  • French

Recommendations:

It's recommended to use a database engine which supports transactions :

  • PostGreSQL is probably the best choice for data-bases with 100,000+ entities.
  • SQLite support is principally done for developers, but it remains a solution for small data-bases (eg: a use as mono-user app with the server running of your computer).

You probably should use 'virtualenv' (for an upgrade from Creme 2.2, you should create a new virtual env, in order to keep the old one working).

Dependencies

  • Python 3.6+
  • MySQL 5.7+ (or MariaDB 10.2+) or PostGreSQL 9.6+ (or SQLite which is included with Python)
  • A web server compatible with Python, like Apache 2.4
  • Redis 3+
  • These python packages : (exact versions of Python packages are indicated in the 'setup.cfg' file)
    • Mandatory :
      • Django 3.2
      • redis 4.0
      • python-dateutil 2.8
      • bleach 4.1
      • Pillow 8.4
      • django-formtools 2.3
      • xlrd (to import contacts, organisations, activities, tickets... from xls files)
      • xlwt (to export all types of entities -- like contacts or organisations -- as xls files)
      • csscompressor 0.9
      • rJSmin 1.2
    • Optional :
      • creme.billing : If you want PDF export, you can use :
        • xhtml2pdf (default)
        • weasyprint (easy to install on Linux ; harder on Windows)
        • you can also use the binary "pdflatex" (Ubuntu package 'texlive-latex-base').
      • creme.graphs :
        • pygraphviz 1.5 (seems unavailable on Windows -- you'll need 'graphviz' too)
      • creme.crudity :
        • lcab (if you want Infopath forms export, and your server doesn't run on Windows)

Installation with 'pip':

  • You should probably use "virtualenv" (on a Python >= 3.6).
  • To install Creme itself :
    • You can just install from pyPI: 'pip install creme-crm==2.3'
    • If you retrieved the source, you can use the following command at the source's root: 'pip install -e .'
  • About DB server :
    • If you use MySQL/MariaDB, you must add the 'mysql' flag : 'pip install creme-crm[mysql]==2.3' (or 'pip install -e .[mysql]' with the source).
    • For PostGreSQL, you must add the 'pgsql' flag : 'pip install creme-crm[pgsql]==2.3' (or 'pip install -e .[pgsql]' with the source).
    • SQLite doesn't require a specific flag (see RECOMMENDATIONS).
  • Notice some of these python packages need system libraries to be installed. For example, here a list of Debian/Ubuntu packages you'll have to install before:
    • python-dev
    • mysql_config & libmysqlclient-dev (or libpq-dev if you want to use PostGreSQL)
    • redis-server
    • libxslt1-dev
    • default-jre
    • libjpeg-dev
    • graphviz & graphviz-dev (if you want the optional app 'graphs')

Install

Global remarks:

  • You should know how to install/deploy a Django application.
  • Upgrade note: if you already have a Creme installation, upgrade the version one by one (eg: do not try to upgrade from 2.0 to 2.2, upgrade to 2.1 and then 2.2).

Database configuration: For a new installation, you have to create a new database & a new DB user (who is allowed to create/drop tables, indices...). For an upgrade from the previous major version, back up your existing DB (of course you should back up regularly, even when you do not upgrade Creme...).

Project creation: In Creme 2.3, the project layout has changed: Creme is now used a regular Python package, and your instance is cleanly separated.

For new installations AND for upgrades from Creme 2.3, create a new project ; with the virtualenv activated, use the following command which creates a new folder:

>> creme creme_start_project my_project

Settings: The newly created file "my_project/settings.py" gives all the information for a basic installation with the minimal information you must fill.

For an upgrade from the previous version of Creme :

  • See the section "UPGRADE NOTE" corresponding to the new version in the file CHANGELOG.txt.
  • Do not remove apps in INSTALLED_APPS during the upgrade (because they are installed in your DB) ; complete your installation & then un-install apps you do not want anymore (see below).

Filling the DB tables & creating the static asset: Run the following commands (new installations AND upgrades from Creme 2.2):

>> creme migrate --settings=my_project.settings
>> creme creme_populate --settings=my_project.settings
>> creme generatemedia --settings=my_project.settings

Note for MySQL users: you should load the time zone tables.

Launch

To run the development server, you just have to run this command:

>> creme runserver --settings=my_project.settings

You can then go to http://localhost:8000 & log in with root/root.

For a production deployment (Apache, Nginx...), you should read https://docs.djangoproject.com/en/3.2/howto/deployment/

In order to get a completely functional instance, the job manager must be launched (some features need it: sending emails campaign, CSV import...). To run it, use this command (in a production environment a watch dog is advised):

>> creme creme_job_manager --settings=my_project.settings

Uninstall apps

When you have a working installation, & want to remove an (optional) app, use the command 'creme_uninstall' which will clean the DB. When it's done, you can comment the app in local_settings.py

Contributing

The repository is using CircleCI and launch some linting tests. To check them locally before any commit or push you can use the hooks in '.githooks'. There are two ways to configure them:

Simply change git configuration (works with git 2.9+)

>> git config core.hooksPath .githooks

Or create symlink in '.git/hooks/'. Make sure the old one are moved or removed.

>> ln -s ../../.githooks/pre-commit .git/hooks/pre-commit
>> ln -s ../../.githooks/pre-push .git/hooks/pre-push

In order to run the JavaScript linter locally, you can install a NodeJS environment within your virtualenv thanks to the python package nodeenv. In your virtualenv (named "mycremeenv"):

>> pip install nodeenv
>> nodeenv -n 12.16.3 -p    # to install nodejs 12.16.3 with "mycremeenv"
>> deactivate
>> workon mycremeenv
>> nodejs --version  # to check the installation is OK
>> make node-update  # Install nodejs requirements

Now you can run "make eslint" manually, and the pre-commit hook will check the new/modified files.

References

Creme CRM source code is available on the Creme CRM GitHub Repository.

Want to know more about Creme CRM ? Check out the Creme CRM Website.

Want to try Creme CRM ? Visit the Creme CRM Public Demo Website.

Want your own demo instance ? Pull the latest Creme CRM Demo Docker image on the Creme CRM DockerHub Repository.

Want to know more about our company ? Check out the Hybird Website.

Any other questions ? Need help ? Reach us on the Creme CRM Forums. Our (french) Video tutorials.

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

creme-crm-2.3.14.tar.gz (18.1 MB view details)

Uploaded Source

Built Distribution

creme_crm-2.3.14-py3-none-any.whl (19.9 MB view details)

Uploaded Python 3

File details

Details for the file creme-crm-2.3.14.tar.gz.

File metadata

  • Download URL: creme-crm-2.3.14.tar.gz
  • Upload date:
  • Size: 18.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.16 tqdm/4.64.1 importlib-metadata/4.8.1 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.15

File hashes

Hashes for creme-crm-2.3.14.tar.gz
Algorithm Hash digest
SHA256 534c560a8b3efae1cfd247eb6896a9073a88127b443d66cd4b59265fc0590496
MD5 6cfbcc8e2b70793cbd057efff23ee146
BLAKE2b-256 7be3a4e24cd14707b7e73026753c1d3cddf2a69b7482415b1f5ea7dbfa0ce990

See more details on using hashes here.

File details

Details for the file creme_crm-2.3.14-py3-none-any.whl.

File metadata

  • Download URL: creme_crm-2.3.14-py3-none-any.whl
  • Upload date:
  • Size: 19.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.16 tqdm/4.64.1 importlib-metadata/4.8.1 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.15

File hashes

Hashes for creme_crm-2.3.14-py3-none-any.whl
Algorithm Hash digest
SHA256 1fae9d59d14fbd8fd1eb323374db1b13a35c2a84922d64881faf37790257f1d9
MD5 23f27e039a4cda9dd7409cf6a4a479ac
BLAKE2b-256 8a574aa7a3ac9b1e66e171db6c03c8ab3e82301f789c173c80c7695c5aff8975

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