mirror of
https://github.com/usememos/memos.git
synced 2024-12-26 23:22:47 +08:00
495 B
495 B
Setup
After deploying and running Memos in prod
mode, you should create "host" user. There are two ways to do this:
- 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. - 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.