/Django-CRM

Open Source CRM based on Django

Primary LanguagePythonMIT LicenseMIT

Django-CRM

============

Django CRM is opensource CRM developed on django framework. It has all the basic features of CRM to start with. We welcome code contributions and feature requests via github.

This is divided into three parts

  1. Backend API Django CRM
  2. Frontend UI React CRM
  3. Mobile app Flutter CRM

Runcode

Runcode is online developer workspace. It is cloud based simple, secure and ready to code workspaces, assuring high performance & fully configurable coding environment. With runcode you can run django-crm(API) with one-click.

  • Open below link to create django-crm workspace on RunCode. It will cretae django-crm API

RunCode

  • After running API, Go to Frontend UI React CRM project to cretae new workpsace with runcode.

Docs

Please Click Here for latest documentation.

Project Modules

This project contains the following modules:

  • Contacts
  • Companies
  • Leads
  • Accounts
  • Invoices (todo)
  • Cases (todo)
  • Opportunity (todo)

Try for free here

Installation Guide

We recommend ubuntu 20.04. These instructions are verified for ubuntu 20.04.

To install system requirments

sudo apt update && sudo apt upgrade -y

sudo apt install python-is-python3 xvfb libfontconfig wkhtmltopdf python3-dev python3-pip build-essential libssl-dev libffi-dev python3-venv redis-server redis-tools virtualenv -y

Install dependencies

Optional (based on personal choice)
sudo apt update && sudo apt upgrade -y && sudo apt install zsh python3-virtualenv

sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

pip install virtualenvwrapper

echo "source /home/ubuntu/.local/bin/virtualenvwrapper.sh" >> ~/.zshrc

If you want to install postgres, follow https://www.postgresql.org/download/

To modify postgresql root password

sudo -u postgres psql
ALTER USER postgres WITH PASSWORD 'root';

Create and activate a virtual environment.

if you installed and configured virtualenv wrapper then use the following

mkvirtualenv <env_name>
workon <env_name>

or else

virtualenv venv
source venv/bin/activate

Install the project's dependency after activating env

pip install -r requirements.txt

Env variables

  • Then refer to env.md for environment variables and keep those in the .env file in the current folder as your project is in.

Next steps

python manage.py migrate
python manage.py runserver

Start celery worker in another terminal window

celery -A tasks worker --loglevel=INFO

Useful tools and packages

pipdeptree # to see pip dependancy tree
black # to format code to meet python coding standards
pip-check -H  # to see upgradable packages

Community

Get help or stay up to date.

Credits

Contributors

This project exists thanks to all the people who contribute!

image

Feature requests and bug reports

We welcome your feedback and support, raise github issue if you want to report a bug or request new feature. we are glad to help.

For commercial support Contact us

Trigger deploy