Instructions to set up root.io locally
git clone https://github.com/rootio/rootio_web.git
cd rootio_web
virtualenv ../venv-web
source ../venv-web/bin/activate
pip install -r requirements.txt
mkdir instance instance/log
cat > instance/rootio.cfg <<ROOTIO_CFG
from pathlib import Path
instance = Path(__file__).resolve().parent
root = instance.parent
PROJECT_ROOT = str(root)
SQLALCHEMY_DATABASE_URI = 'postgres:///rootio'
LOG_FOLDER = str(instance / 'log')
MAIL_SERVER = 'smtp.example.com'
MAIL_USE_TLS = False
MAIL_USE_SSL = False
SECRET_KEY = 'some random secret'
PROJECT = 'Rootio Web'
ADMINS = ['admin@example.com']
DEBUG = True
MEDIA_PREFIX = '/var/local/rootio/media' # github.com/mgax/rootio-test-media
ROOTIO_CFG
./manage.py reset_db
./manage.py demo_data
git clone https://github.com/rootio/station-telephony.git
cd station-telephony
virtualenv ../venv-telephony
source ../venv-telephony/bin/activate
pip install -r requirements.txt
mkdir instance
cat > instance/settings.py <<SETTINGS_PY
from pathlib import Path
root = Path(__file__).resolve().parent.parent
SQLALCHEMY_DATABASE_URI = 'postgres:///rootio'
ROOTIO_WEB_PATH = str(root.parent / 'rootio_web')
ESL_SERVER = '192.168.2.202'
SETTINGS_PY
./run.py
- "domain" is the freeswitch server's IP address
- "user name" is
1007
- "password" is
1234