Skip to content

Instantly share code, notes, and snippets.

@mizzunet
Created February 9, 2023 04:24
Show Gist options
  • Save mizzunet/d023ca902e805096e76fdc88f85fc479 to your computer and use it in GitHub Desktop.
Save mizzunet/d023ca902e805096e76fdc88f85fc479 to your computer and use it in GitHub Desktop.
Setup Memos server manually without Docker

1. Clone repository

git clone https://github.com/usememos/memos

2. Set working directly

Change profile.Data from memos/server/profile/profile.go (line 60) to your desired directly (/opt/memos)

3. Setup frontend

cd memos/web
yarn && yarn build
cd ..
rm -rf server/dist
mv web/dist server

4. Build memos binary

go build -o memos bin/server/main.go

5. Run it!

Move resulting memos to your working directory

/path/to/memos -mode prod -port 9999

Thanks to GFC from Telegram for instructions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment