Marketplace/DBRefresh: Difference between revisions

new process
No edit summary
(new process)
Line 1: Line 1:
So, you've just wiped and rebuilt the [https://marketplace-dev.allizom.org -dev] or [https://marketplace.allizom.org stage] database with [[Marketplace/Fake_Data|Fake Data]] and lost all the users, permissions, and customizations that were there, eh?  List commands to run after a refresh to get things back to where you want:
'''User creation is now part of DB refresh process. Ops now keeps a list of email addresses, permissions, and OAuth keys to be loaded after creating a new DB.'''
 
 
  # This will require the person to log in to the site first to get the account created.
  # Also, this is a public wiki page so I don't want to put full emails, so expand them before running plz
 
  ./manage.py addusertogroup adora@m.c 1
  ./manage.py addusertogroup awilliamson@m.c 1
  ./manage.py addusertogroup clouserw@gmail 1
  ./manage.py addusertogroup kraj@m.c 1
  ./manage.py addusertogroup valentina_sv@yahoo 1
  ./manage.py addusertogroup cotetiu_madalin_sv@yahoo 1
  ./manage.py addusertogroup carcium@gmail 1
44

edits