Created
March 27, 2014 17:46
-
-
Save stwind/9813647 to your computer and use it in GitHub Desktop.
createsuperuser for sentry without password prompt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "from django.db import DEFAULT_DB_ALIAS as database; from sentry.models import User; User.objects.db_manager(database).create_superuser('<USER>', '<EMAIL>', '<PASSWORD>')" | sentry --config=/etc/sentry.conf.py shell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment