chore: release v0.2.0 (#114)

This commit is contained in:
boojack 2022-07-09 14:09:40 +08:00 committed by GitHub
parent de7058532a
commit 91d45d6d46
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 4 deletions

View file

@ -4,7 +4,7 @@
<p align="center"> <p align="center">
<img alt="GitHub stars" src="https://img.shields.io/github/stars/usememos/memos" /> <img alt="GitHub stars" src="https://img.shields.io/github/stars/usememos/memos" />
<img alt="Docker pull" src="https://img.shields.io/docker/pulls/neosmemo/memos.svg" /> <a href="https://hub.docker.com/r/neosmemo/memos"><img alt="Docker pull" src="https://img.shields.io/docker/pulls/neosmemo/memos.svg" /></a>
<img alt="Go report" src="https://goreportcard.com/badge/github.com/usememos/memos" /> <img alt="Go report" src="https://goreportcard.com/badge/github.com/usememos/memos" />
</p> </p>
@ -31,11 +31,19 @@
## ⚓️ Deploy with Docker ## ⚓️ Deploy with Docker
```docker ```docker
docker run --name memos --publish 5230:5230 --volume ~/.memos/:/var/opt/memos -e mode=prod -e port=5230 neosmemo/memos:0.1.3 docker run \
--name memos \
--publish 5230:5230 \
--volume ~/.memos/:/var/opt/memos \
neosmemo/memos:latest \
--mode prod \
--port 5230
``` ```
Memos should now be running at [http://localhost:5230](http://localhost:5230). If the `~/.memos/` does not have a `memos_prod.db` file, then `memos` will auto generate it. Memos should now be running at [http://localhost:5230](http://localhost:5230). If the `~/.memos/` does not have a `memos_prod.db` file, then `memos` will auto generate it.
⚠️ Please DO NOT use `dev` of docker image if you have no experience.
## 🏗 Development ## 🏗 Development
Memos is built with a curated tech stack. It is optimized for developer experience and is very easy to start working on the code: Memos is built with a curated tech stack. It is optimized for developer experience and is very easy to start working on the code:

View file

@ -7,7 +7,7 @@ import (
// Version is the service current released version. // Version is the service current released version.
// Semantic versioning: https://semver.org/ // Semantic versioning: https://semver.org/
var Version = "0.1.3" var Version = "0.2.0"
// DevVersion is the service current development version. // DevVersion is the service current development version.
var DevVersion = "0.2.0" var DevVersion = "0.2.0"

View file

@ -1,6 +1,6 @@
{ {
"name": "memos", "name": "memos",
"version": "0.1.3", "version": "0.2.0",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
"build": "tsc && vite build", "build": "tsc && vite build",