Skip to content

Commit

Permalink
update install script
Browse files Browse the repository at this point in the history
  • Loading branch information
areski committed Mar 31, 2011
1 parent ee5c970 commit 7d73146
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cdr_stats/templates/documentation.html
Expand Up @@ -16,7 +16,7 @@
</style>
</head>
<body>
<h1>{% trans "CDR-Stats Dialer : API Documentation" %}</h1>
<h1>{% trans "CDR-Stats : API Documentation" %}</h1>
<hr/>
{% for doc in docs %}

Expand Down
9 changes: 4 additions & 5 deletions scripts/install-cdr-stats-freePBX.sh
Expand Up @@ -115,11 +115,6 @@ sed -i "/'PASSWORD'/s/''/'$MYSQLPASSWORD'/" /usr/share/django_app/cdr_stats/sett
sed -i "/'HOST'/s/''/'localhost'/" /usr/share/django_app/cdr_stats/settings.py
sed -i "/'PORT'/s/''/'3306'/" /usr/share/django_app/cdr_stats/settings.py
sed -i "s/'dilla'/#'dilla'/" /usr/share/django_app/cdr_stats/settings.py


#Setup template for admin screens
cd /usr/share/django_app/cdr_stats/resources
ln -s /usr/lib/python2.4/site-packages/django/contrib/admin/media/ admin
sed -i "s/8000/9000/" /usr/share/django_app/cdr_stats/settings.py


Expand All @@ -132,6 +127,10 @@ python manage.py syncdb
python manage.py migrate


#Collect static files from apps and other locations in a single location.
python manage.py collectstatic -l


#Update Database
RESULT=`/usr/bin/mysql -uroot -p$MYSQLROOTPASSWOOD <<SQL
Expand Down

0 comments on commit 7d73146

Please sign in to comment.