diff --git a/README.craete-admin-account b/README.craete-admin-account new file mode 100644 index 0000000..70165d4 --- /dev/null +++ b/README.craete-admin-account @@ -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!" + diff --git a/README.reset-admin-passwort b/README.reset-admin-passwort new file mode 100644 index 0000000..6646038 --- /dev/null +++ b/README.reset-admin-passwort @@ -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!.' +