chore: update deploy guide in readme

This commit is contained in:
boojack 2022-05-02 09:40:38 +08:00
parent da94b96b0e
commit fcb5e2ee5a
2 changed files with 3 additions and 4 deletions

View File

@ -31,10 +31,10 @@ Making sure that you are in charge of your data and more customizations.
## ⚓️ Deploy with Docker ## ⚓️ Deploy with Docker
```docker ```docker
docker run --name memos --publish 8080:8080 --volume ~/path/to/your/data/:/var/opt/memos -e mode=release neosmemo/memos:dev docker run --name memos --publish 8080:8080 --volume ~/path/to/your/data/:/var/opt/memos -e mode=prod neosmemo/memos:dev
``` ```
The default user account is `guest` with password `secret`. If the `/path/to/your/data` doesn't have a `.db` file, then memos will auto-generate it and the default username is `guest` with password `secret`.
## 🌟 Star history ## 🌟 Star history

View File

@ -40,10 +40,9 @@ const AboutSiteDialog: React.FC<Props> = ({ destroy }: Props) => {
<p>Built with `Golang` and `React`.</p> <p>Built with `Golang` and `React`.</p>
<br /> <br />
<p> <p>
🏗 <a href="https://github.com/justmemos/memos">This project</a> is working in progress, <br /> and very pleasure to welcome your{" "} 🏗 <a href="https://github.com/justmemos/memos">This project</a> is working in progress, and very pleasure to your{" "}
<a href="https://github.com/justmemos/memos/issues">issues</a>. <a href="https://github.com/justmemos/memos/issues">issues</a>.
</p> </p>
<br />
<p className="updated-time-text"> <p className="updated-time-text">
Last updated on <span className="pre-text">{lastUpdatedAt}</span> 🎉 Last updated on <span className="pre-text">{lastUpdatedAt}</span> 🎉
</p> </p>