Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 714 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 714 Bytes

#Require:

  • Django==1.4.5
  • MySQL-python

#Installation: Recommended installation on virtualenv

% mkdir -p ~/venv && cd ~/venv
% virtualenv --no-site-packages --use-distribute ./astctl && cd ./astctl
% source bin/activate
% pip install django==1.4.5
% pip install MySQL-python

% mkdir -p ./projects && cd ./projects
% git clone git://github.com/iddqd3/asterctl.git && cd ./asterctl

Rename mysql.cnf-example to mysql-cnf and edit Rename asterctl/settings.py-example to asterctl/settings.py and edit follow variables:

  • ADMINS
  • CDR_DB
  • PEER_DB
  • TIME_ZONE

Run project:

% ./manager.py syncdb
% ./manager.py runserver [ip:port]