Marketplace/DBRefresh: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "So, you've just wiped and rebuilt the [https://marketplace-dev.allizom.org -dev] or [https://marketplace.allizom.org stage] database with Fake Data a...")
 
(added banner)
 
(2 intermediate revisions by 2 users not shown)
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:
{{Marketplace_banner}}
 
'''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

Latest revision as of 02:16, 1 April 2016

Stop (medium size).png
The Marketplace has been placed into maintenance mode. It is no longer under active development. You can read complete details here.

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.