https://gist.github.com/ispguru/87309cc619a0c1214805ed7bee91cbd0


https://www.youtube.com/watch?v=_I9GGzxR6dg&feature=youtu.be



Jasmin is written in Python and Twisted framework for serving highly scalable applications, SMS message delivery can be done through HTTP and SMPP protocols, intelligent routing can be configured in real-time through an API, cli interface or a web backend.


#1st Phase
Complete Things To Do After Install Ubuntu:
sudo apt update && sudo apt-get upgrade --fix-missing 
sudo apt install build-essential checkinstall
sudo apt install ubuntu-restricted-extras
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt update
sudo apt install launchpad-getkeys
sudo launchpad-getkeys 
sudo add-apt-repository ppa:git-core/ppa
sudo apt update
sudo apt install git
sudo git config --global user.name "YourName"
sudo git config --global user.email youremail@gmail.com
sudo apt-get install python-jasmin
sudo systemctl enable jasmind
sudo systemctl start jasmind

sudo apt list --upgradable
sudo apt upgrade -y
sudo apt -y autoclean 
sudo apt -y clean 
sudo apt update


#2nd Phase

Install Apache+clone repository to /var/www/:
sudo apt update
sudo apt-get install apache2 libapache2-mod-wsgi
sudo systemctl enable apache2
sudo systemctl restart apache2
sudo systemctl reload apache2
cd /var/www/
sudo git clone https://github.com/amechax/JasminWebPanel.git
sudo rm -rf html
sudo mv JasminWebPanel html
cd html
sudo apt install python-pip
sudo pip install -r requirements.pip
sudo ./manage.py migrate 
sudo ./manage.py createsuperuser 
sudo ./manage.py collectstatic
Input your new username and password local_settings.py
sudo touch local_settings.py
sudo nano local_settings.py
#add user name password telnet port hare
Run as development
sudo python manage.py runserver [::]:8000
# visit http://localhost:8000/

#3rd Phase To run on production:

sudo nano /etc/apache2/sites-available/000-default.conf

sudo a2enmod wsgi
sudo a2ensite 000-default.conf
sudo service apache2 restart
sudo chmod a+w db.sqlite3
cd ..
sudo chown root:root html
sudo service apache2 restart
sudo chown www-data:www-data html
cd html
sudo chown www-data:www-data db.sqlite3 
sudo service apache2 reload
firefox http://localhost

#https://youtu.be/_I9GGzxR6dg