Update README.md

This commit is contained in:
Marc Aymerich 2015-05-01 20:10:34 +02:00
parent a512976962
commit 48f7225907
1 changed files with 2 additions and 11 deletions

View File

@ -86,17 +86,8 @@ To only run the python interface follow this steps:
5. django-admin.py startproject panel --template="$HOME/django-orchestra/orchestra/conf/project_template" 5. django-admin.py startproject panel --template="$HOME/django-orchestra/orchestra/conf/project_template"
6. python3 panel/manage.py migrate accounts 6. python3 panel/manage.py migrate accounts
7. python3 panel/manage.py migrate 7. python3 panel/manage.py migrate
8. # Create orchestra superuser 8. python3 panel/manage.py runserver
9. open http://localhost:8000/admin
cat <<- EOF | python3 panel/manage.py shell
from orchestra.contrib.accounts.models import Account
if not Account.objects.filter(username="admin").exists():
print('Creating orchestra superuser')
Account.objects.create_superuser("admin", "admin@localhost", "orchestra")
EOF
9. python3 panel/manage.py runserver
10. open http://localhost:8000/admin
None of the services will work but you can see the web interface None of the services will work but you can see the web interface