feat: add docs for memos setup after deploying (#1419)

This commit is contained in:
Dmitry Shemin 2023-03-27 22:45:02 +07:00 committed by GitHub
parent e7ee181a91
commit bc595b40e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

6
docs/setup.md Normal file
View file

@ -0,0 +1,6 @@
# Setup
After deploying and running Memos in `prod` mode, you should create "host" user. There are two ways to do this:
1. Navigate to the Memos application URL, such as `http://localhost:5230`, and follow the prompts to create a username and password for the "host" user.
2. Use the command `memos setup --host-username=$USERNAME --host-password=$PASSWORD --mode=prod` to set up the host user. This method may be more convenient for deploying through Ansible or other provisioning softwares.