mirror of https://github.com/usememos/memos
update: db initialization
parent
eae858e20b
commit
406109b091
@ -1,17 +0,0 @@
|
||||
# Deploy `memos` with Docker
|
||||
|
||||
1. download the initialized db file:
|
||||
|
||||
```shell
|
||||
mkdir ~/data
|
||||
cd ~/data
|
||||
wget --no-check-certificate https://github.com/justmemos/memos/blob/main/resources/memos-release.db?raw=true
|
||||
```
|
||||
|
||||
2. pull and run docker image:
|
||||
|
||||
```docker
|
||||
docker run --name memos --publish 8080:8080 --volume ~/path/to/your/data/:/var/opt/memos -e mode=release -e data=/var/opt/memos neosmemo/memos:dev
|
||||
```
|
||||
|
||||
The default user account is `guest` with password `secret`.
|
@ -0,0 +1,4 @@
|
||||
DROP TABLE IF EXISTS `memo`;
|
||||
DROP TABLE IF EXISTS `shortcut`;
|
||||
DROP TABLE IF EXISTS `resource`;
|
||||
DROP TABLE IF EXISTS `user`;
|
Loading…
Reference in New Issue