title: openshift-django : syncdb, deploy script not running
body: <p>Is there any way by which I can run syncdb from my terminal? I don't know why my action_hooks/deploy script is not running. When I open my openshift database it show no table created.</p>
  
  <pre><code>source ${OPENSHIFT_HOMEDIR}python-2.6/virtenv/bin/activate
  export PYTHON_EGG_CACHE=${OPENSHIFT_HOME_DIR}python-2.6/virtenv/lib/python-2.6/site-packages
  echo "Executing 'python ${OPENSHIFT_REPO_DIRwsgi/my/manage.py syncdb --noinput'"
  python "$OPENSHIFT_REPO_DIR"my/manage.py syncdb --noinput
  echo "Executing 'python ${OPENSHIFT_REPO_DIR}wsgi/my/manage.py collectstatic --noinput -v0'"
  python "$OPENSHIFT_REPO_DIR"my/manage.py collectstatic --noinput -v0
  </code></pre>
  
  <p>git repo at <a href="https://github.com/sarvesh-onlyme/ninja/tree/master/openshift/django" rel="nofollow">https://github.com/sarvesh-onlyme/ninja/tree/master/openshift/django</a></p>