Django 5.x-based Unified Communications (UC).
This project originally started as “CrystalCRM” as the word “Chrystal” is complementary to the “Clear” in “ClearConverse”. But unfortunately to call it a true “CRM” is misleading; therefore the project is being modified for clarification.
CrystalQore (“Core”) is not a CRM, but rather a system by which to augment client’s VoIP subscriptions. The basic version encompassing the basic apps of a Dashboard, Click2Call, Call Pop, Chat, Contacts, Files, CDR, Notes, and Calendar will be available to anyone who uses phone service with ClearConverse, with the extended apps available for an additional subscription. The other applications such as SMS, CRM, Inventory, and Appointments will be designed to work with this Core.
The whole Crystal project will have modern color layouts, smooth transitions, and a clean layout.
Please enjoy this outline that has taken so much of my sanity from me, of which I had very little left.
# djangoCQ
Django implementation of Crystal Qore Premium apps.
sudo aptitude install python3-pip python3-dateutil postgresql-x git nginx \
certbot python3-certbot-nginx redis
sudo adduser --system --home=/opt/django --group django
exit
sudo su - postgres
createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt cquser
psql
CREATE DATABASE crystalqore ENCODING 'utf-8' TEMPLATE 'template0' OWNER cquser;
exit
sudo nano /etc/postgresql/15/main/pg_hba.conf
# TYPE DATABASE USER ADDRESS METHOD
local crystalqore cquser md5
sudo service postgresql restart
sudo su - django -s /bin/bash
python3 -m pip install --upgrade django psycopg Pillow gunicorn --break-system-packages
ssh-keygen -t ed25519
cat .ssh/id_ed25519.pub
git clone git@gitlab.clearconverse.com:angel/djangoCQpremium.git
cd djangoCQpremium
git checkout x-dev
cd config
nano settings.py
cd ..
pip install -r requirements.txt --break-system-packages
cd ~/djangoCQpremium/ && python3 manage.py makemigrations
cd ~/djangoCQpremium/ && python3 manage.py migrate
cd ~/djangoCQpremium/ && python3 manage.py createsuperuser # cqadmin
screen
cd ~/djangoCQpremium/ && python3 manage.py runserver
Ctrl-A-D
screen
cd ~/djangoCQpremium/ && python3 -m daphne -p 8001 config.asgi:application
Copy favicon, apple-icon, logos, etc.
http://127.0.0.1:8000/admin/
http://127.0.0.1:8000/