Update README.md
This commit is contained in:
parent
0abf5df93a
commit
ad2dcc6274
@ -62,8 +62,8 @@ To run misskey:
|
|||||||
|
|
||||||
`sudo docker run --rm -i -t -p $PORT:80 -v $(pwd):/root/misskey -v $DBPATH:/data/db misskey`
|
`sudo docker run --rm -i -t -p $PORT:80 -v $(pwd):/root/misskey -v $DBPATH:/data/db misskey`
|
||||||
|
|
||||||
where $PORT is the port used to access Misskey Web from host browser
|
where `$PORT` is the port used to access Misskey Web from host browser
|
||||||
and $DBPATH is the path of MongoDB database on the host for data persistence.
|
and `$DBPATH` is the path of MongoDB database on the host for data persistence.
|
||||||
|
|
||||||
ex: `sudo docker run --rm -i -t -p 80:80 -v $(pwd):/root/misskey -v /data/db:/data/db misskey`
|
ex: `sudo docker run --rm -i -t -p 80:80 -v $(pwd):/root/misskey -v /data/db:/data/db misskey`
|
||||||
|
|
||||||
@ -71,7 +71,7 @@ If you want to run misskey in production mode, add `--env NODE_ENV=production` l
|
|||||||
|
|
||||||
`sudo docker run --rm -i -t -p 80:80 -v $(pwd):/root/misskey -v /data/db:/data/db --env NODE_ENV=production misskey`
|
`sudo docker run --rm -i -t -p 80:80 -v $(pwd):/root/misskey -v /data/db:/data/db --env NODE_ENV=production misskey`
|
||||||
|
|
||||||
Note that $(pwd) is the working directory.
|
Note that `$(pwd)` is the working directory.
|
||||||
|
|
||||||
## Launch
|
## Launch
|
||||||
`sudo npm start`
|
`sudo npm start`
|
||||||
|
Loading…
Reference in New Issue
Block a user