-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
166 changed files
with
597 additions
and
637 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,15 @@ | ||
Python 3.5.2: | ||
script: | ||
- export PY_EXE=python3.5.2 | ||
- virtualenv -p python3 env | ||
- source env/bin/activate | ||
- pip install --no-cache-dir -r requirements.txt | ||
- python manage.py test --keepdb --parallel --noinput | ||
- coverage run --source=accounts,cases,common,contacts,leads,opportunity,tasks,invoices,events,teams,marketing manage.py test --keepdb --noinput | ||
- coverage report -m | ||
except: | ||
- tags | ||
|
||
deploy_mp: | ||
stage: deploy | ||
environment: | ||
name: live | ||
script: | ||
- sudo /bin/rm -rf /home/dj_crm/dj_crm/; cp -r . /home/dj_crm/dj_crm | ||
- source /home/dj_crm/env/bin/activate | ||
- pip install -r /home/dj_crm/dj_crm/requirements.txt | ||
- python /home/dj_crm/dj_crm/manage.py migrate --noinput | ||
- sudo /etc/init.d/uwsgi restart | ||
- sudo /usr/bin/supervisorctl restart all | ||
only: | ||
- master | ||
tags: | ||
- djcrm_micropyramid | ||
|
||
deploy_live: | ||
stage: deploy | ||
environment: | ||
name: live | ||
script: | ||
- sudo /bin/rm -rf /home/dj_crm/dj_crm/; cp -r . /home/dj_crm/dj_crm | ||
- source /home/dj_crm/env/bin/activate | ||
- pip install -r /home/dj_crm/dj_crm/requirements.txt | ||
- python /home/dj_crm/dj_crm/manage.py migrate --noinput | ||
- python /home/dj_crm/dj_crm/manage.py rebuild_index --noinput | ||
- sudo /etc/init.d/uwsgi restart | ||
- df -h | ||
- sudo /bin/rm -rf /home/bottlecrm/bottlecrm/; cp -r . /home/bottlecrm/bottlecrm/ | ||
- source /home/bottlecrm/env/bin/activate | ||
- pip install -r /home/bottlecrm/bottlecrm/requirements.txt | ||
- python /home/bottlecrm/bottlecrm/manage.py migrate --noinput | ||
- sudo /usr/bin/supervisorctl restart all | ||
only: | ||
- master | ||
tags: | ||
- github-crm | ||
- bottlecrm-com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
repos: | ||
- repo: https://github.com/ambv/black | ||
rev: stable | ||
hooks: | ||
- id: black | ||
language_version: python3.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
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. | ||
|
||
<http://django-crm.readthedocs.io> for latest documentation | ||
|
||
This project contains the following modules. | ||
|
||
> - Contacts | ||
> - Accounts | ||
> - Invoices | ||
> - Cases | ||
> - Leads | ||
> - Opportunity | ||
> - Planner | ||
## Try for free [here](https://bottlecrm.com/) | ||
--- | ||
|
||
# Installation | ||
We recommend ubuntu 18.04 or ubuntu 20.04. These instructions are verified for ubuntu 20.04 | ||
|
||
#### System Requirements | ||
--- | ||
|
||
``` | ||
sudo apt install postgresql xvfb libfontconfig wkhtmltopdf git libpq-dev python3-dev python3-pip gem ruby ruby-dev build-essential libssl-dev libffi-dev python3-venv redis-server redis-tools -y | ||
sudo gem install sass | ||
``` | ||
|
||
#### Install dependencies | ||
--- | ||
|
||
``` | ||
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. Refer https://github.com/theskumar/python-dotenv | ||
* add ```127.0.0.1 test.localhost``` to your hosts file ```/etc/hosts``` Then you can use test as company name to register and login | ||
#### next steps | ||
``` | ||
python manage.py migrate | ||
python manage.py runserver | ||
``` | ||
Then open http://localhost:8000 in your borwser and create a new account with test as company name. We mapped test.localhost to 127.0.0.1 So, it should work properly. | ||
|
||
Community | ||
========= | ||
|
||
Get help or stay up to date. | ||
|
||
- [Issues](<https://github.com/MicroPyramid/Django-CRM/issues>) | ||
- Follow [@micropyramid](<https://twitter.com/micropyramid>) on Twitter | ||
- Ask questions on [Stack Overflow](<https://stackoverflow.com/questions/tagged/django-crm>) | ||
- Chat with community [Gitter](<https://gitter.im/MicroPyramid/Django-CRM>) | ||
- For customisations, email to <django-crm@micropyramid.com> | ||
|
||
Credits | ||
------- | ||
|
||
### Contributors | ||
|
||
This project exists thanks to all the people who contribute! | ||
|
||
![image](https://opencollective.com/django-crm/contributors.svg?width=890&button=false) | ||
|
||
|
||
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](https://micropyramid.com/contact-us/) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{% extends 'base.html' %} | ||
{% load staticfiles %} | ||
{% load static %} | ||
{% load paginate %} | ||
{% block content %} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.