Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (local venv) $ heroku addons
- Add-on Plan Price State
- ────────────────────────────────────── ───────── ───── ───────
- heroku-postgresql (postgresql-lorem-1) hobby-dev free created
- └─ as DATABASE
- heroku-postgresql (postgresql-real-1) hobby-dev free created
- └─ as HEROKU_POSTGRESQL_NAVY
- logentries (logentries-deep-90782) le_tryit free created
- └─ as LOGENTRIES
- The table above shows add-ons and the attachments to the current app (tarot-juicer-next-iter) or other apps.
- (local venv)$ heroku pg:promote HEROKU_POSTGRESQL_NAVY
- Ensuring an alternate alias for existing DATABASE_URL... HEROKU_POSTGRESQL_SILVER_URL
- Promoting postgresql-real-1 to DATABASE_URL on ⬢ tarot-juicer-next-iter... done
- (local venv) $ heroku run python manage.py migrate
- Running python manage.py migrate on ⬢ tarot-juicer-next-iter... up, run.6999 (Hobby)
- Operations to perform:
- Apply all migrations: accounts, admin, auth, contenttypes, sessions
- Running migrations:
- Applying accounts.0001_initial... OK
- Applying accounts.0002_passphrase... OK
- Applying accounts.0003_auto_20201203_1609... OK
- Applying contenttypes.0001_initial... OK
- Applying auth.0001_initial... OK
- Applying admin.0001_initial... OK
- Applying admin.0002_logentry_remove_auto_add... OK
- Applying admin.0003_logentry_add_action_flag_choices... OK
- Applying contenttypes.0002_remove_content_type_name... OK
- Applying auth.0002_alter_permission_name_max_length... OK
- Applying auth.0003_alter_user_email_max_length... OK
- Applying auth.0004_alter_user_username_opts... OK
- Applying auth.0005_alter_user_last_login_null... OK
- Applying auth.0006_require_contenttypes_0002... OK
- Applying auth.0007_alter_validators_add_error_messages... OK
- Applying auth.0008_alter_user_username_max_length... OK
- Applying auth.0009_alter_user_last_name_max_length... OK
- Applying auth.0010_alter_group_name_max_length... OK
- Applying auth.0011_update_proxy_permissions... OK
- Applying sessions.0001_initial... OK
- (local venv) $ heroku run python manage.py makemigrations
- Running python manage.py makemigrations on ⬢ tarot-juicer-next-iter... up, run.3203 (Hobby)
- No changes detected
- (local venv) $ heroku run python manage.py createsuperuser
- Running python manage.py createsuperuser on ⬢ tarot-juicer-next-iter... up, run.7114 (Hobby)
- Username (leave blank to use 'u57322'): realtom
- Email address:
- Password:
- Password (again):
- Superuser created successfully.
- (local venv) $ DATABASE_URL="postgres://jckmeibmxypuvn:11033b956dd9cc6011e8efb7d23d56bb277bef7e9634a31ae0f0b304f34e9667@ec2-3-231-241-17.compute-1.amazonaws.com:5432/d9eds0cfpna1li" python manage.py test --keepdb
- System check identified no issues (0 silenced).
- ----------------------------------------------------------------------
- Ran 0 tests in 0.000s
- OK
- (local venv) $ heroku addons:open HEROKU_POSTGRESQL_NAVY
- Opening https://addons-sso.heroku.com/apps/d96f2568-66a5-41f4-9293-b1a886ef6133/addons/93677e68-cec5-43f3-9ce8-4bdd3087d88b...
- (local venv) $ heroku config:set SECRET_KEY='<hash redacted>'
- Setting SECRET_KEY and restarting ⬢ tarot-juicer-next-iter... done, v44
- SECRET_KEY: <hash redacted>
- (local venv) $ heroku config:set AUTHENTICATED_VISITOR_USERNAME='authenticated_visitor'
- Setting AUTHENTICATED_VISITOR_USERNAME and restarting ⬢ tarot-juicer-next-iter... done, v44
- AUTHENTICATED_VISITOR_USERNAME: authenticated_visitor
- (local venv) $ heroku config:set AUTHENTICATED_VISITOR_PASSWORD='AjeuAjs2@#7sg'
- Setting AUTHENTICATED_VISITOR_PASSWORD and restarting ⬢ tarot-juicer-next-iter... done, v44
- AUTHENTICATED_VISITOR_PASSWORD: hash redacted
- (local venv) $ heroku config:set PASSPHRASE='YourMagicPassphrase'
- Setting PASSPHRASE and restarting ⬢ tarot-juicer-next-iter... done, v44
- PASSPHRASE: YourMagicPassphrase
- (local venv) $ heroku ps:exec
- Establishing credentials... done
- Connecting to web.1 on ⬢ tarot-juicer-next-iter...
- (remote) ~ $ python manage.py migrate
- Operations to perform:
- Apply all migrations: accounts, admin, auth, contenttypes, sessions
- Running migrations:
- Applying accounts.0001_initial... OK
- Applying accounts.0002_passphrase... OK
- Applying accounts.0003_auto_20201203_1609... OK
- Applying contenttypes.0001_initial... OK
- Applying auth.0001_initial... OK
- Applying admin.0001_initial... OK
- Applying admin.0002_logentry_remove_auto_add... OK
- Applying admin.0003_logentry_add_action_flag_choices... OK
- Applying contenttypes.0002_remove_content_type_name... OK
- Applying auth.0002_alter_permission_name_max_length... OK
- Applying auth.0003_alter_user_email_max_length... OK
- Applying auth.0004_alter_user_username_opts... OK
- Applying auth.0005_alter_user_last_login_null... OK
- Applying auth.0006_require_contenttypes_0002... OK
- Applying auth.0007_alter_validators_add_error_messages... OK
- Applying auth.0008_alter_user_username_max_length... OK
- Applying auth.0009_alter_user_last_name_max_length... OK
- Applying auth.0010_alter_group_name_max_length... OK
- Applying auth.0011_update_proxy_permissions... OK
- Applying sessions.0001_initial... OK
- (remote) ~ python manage.py makemigrations
- No changes detected
- (remote) ~
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement