Skip to content

Commit

Permalink
feat: add docs for memos setup after deploying (usememos#1419)
Browse files Browse the repository at this point in the history
  • Loading branch information
dshemin authored Mar 27, 2023
1 parent e7ee181 commit bc595b4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/setup.md
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit bc595b4

Please sign in to comment.