Add 'README.craete-admin-account' and 'README.reset-admin-passwort'.
This commit is contained in:
parent
d4762888e5
commit
56deaa3a4d
47
README.craete-admin-account
Normal file
47
README.craete-admin-account
Normal file
@ -0,0 +1,47 @@
|
||||
# ----
|
||||
# Creating a new account with admin privileges
|
||||
# ---
|
||||
|
||||
#see also
|
||||
# https://meta.discourse.org/t/create-an-admin-account-from-the-console/17274
|
||||
|
||||
|
||||
# Accessing the console
|
||||
#
|
||||
# Connect to your Discourse server using SSH,
|
||||
#
|
||||
ssh dc-opp.oopen.de
|
||||
|
||||
|
||||
# Become root
|
||||
#
|
||||
sudo -i
|
||||
|
||||
|
||||
# Switch to your Discourse directory:
|
||||
#
|
||||
cd /var/discourse
|
||||
|
||||
|
||||
# Enter the Docker container:
|
||||
#
|
||||
./launcher enter app
|
||||
|
||||
|
||||
# Creating a new account with admin privileges
|
||||
#
|
||||
# Inside the console, run the following command:
|
||||
#
|
||||
rake admin:create
|
||||
|
||||
# You will be prompted for:
|
||||
#
|
||||
# Email
|
||||
# Password
|
||||
# Confirm Password
|
||||
#
|
||||
#A new account will be created with a username based on the email address. When asked
|
||||
#if you want to grant admin privileges, press Enter to confirm.
|
||||
#
|
||||
#If successful, you#ll see: "Your account now has Admin privileges!"
|
||||
|
43
README.reset-admin-passwort
Normal file
43
README.reset-admin-passwort
Normal file
@ -0,0 +1,43 @@
|
||||
# ----
|
||||
# Creating a new account with admin privileges
|
||||
# ---
|
||||
|
||||
#see also
|
||||
# https://meta.discourse.org/t/create-an-admin-account-from-the-console/17274
|
||||
|
||||
|
||||
# Accessing the console
|
||||
#
|
||||
# Connect to your Discourse server using SSH,
|
||||
#
|
||||
ssh dc-opp.oopen.de
|
||||
|
||||
|
||||
# Become root
|
||||
#
|
||||
sudo -i
|
||||
|
||||
|
||||
# Switch to your Discourse directory:
|
||||
#
|
||||
cd /var/discourse
|
||||
|
||||
|
||||
# Enter the Docker container:
|
||||
#
|
||||
./launcher enter app
|
||||
|
||||
|
||||
# Creating a new account with admin privileges
|
||||
#
|
||||
# Inside the console, run the following command:
|
||||
#
|
||||
rake admin:create
|
||||
|
||||
|
||||
# Enter the email of the existing account. If the user exists, you will be asked
|
||||
# if you want to reset the password. Press Enter to proceed. Provide and confirm
|
||||
# the new password.
|
||||
#
|
||||
#If it worked, you'll see 'Account updated successfully!.'
|
||||
|
Loading…
x
Reference in New Issue
Block a user