Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo -i -u wsgi
- /usr/lib/postgresql/9.5/bin/psql -U postgres
- # create database "kjvrgv_prod";
- \q
- ws-alembic -c kjvrvg/conf/production.ini -x packages=all upgrade head
- ws-create-user kjvrvg/conf/production.ini michael@maz.local michael --admin
- #### login michael@maz.local fails ####
- ws-db-shell kjvrvg/conf/production.ini
- wsgi@localhost:kjvrvg_prod> select * from users;
- +------+--------------------------------------+-------------------+-------------------+-----------------------
- | id | uuid | username | email | password
- |------+--------------------------------------+-------------------+-------------------+-----------------------
- | 1 | 40546734-5d53-4b4d-86eb-92aa8d4ba9ad | michael@maz.local | michael@maz.local | $argon2i$v=19$m=512,t=
- +------+--------------------------------------+-------------------+-------------------+-----------------------
- SELECT 1
- #### go through sign-up process, activate with link from email michaelkhanna@gmail.com ####
- wsgi@localhost:kjvrvg_prod> select * from users;
- +------+--------------------------------------+-------------------+-------------------+-----------------------
- | id | uuid | username | email | password
- |------+--------------------------------------+-------------------+-------------------+-----------------------
- | 1 | 40546734-5d53-4b4d-86eb-92aa8d4ba9ad | michael@maz.local | michael@maz.local | $argon2i$v=19$m=512,t=
- +------+--------------------------------------+-------------------+-------------------+-----------------------
- SELECT 1
- where is michaelkhanna@gmail.com ?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement