Helps to run memphis.dev locally without docker.
- Go version 1.19+ (I used 1.20.3).
- Recent PostgreSQL (I used 14.7).
Procfileprocess manager. hivemind, overmind (requires tmux) or foreman
- Create PostreSQL db for memphis:
createdb memphis- Copy and edit memphis env variables config. Look at
METADATA_DB_USER:
cp .env.template .env- Copy and edit rest gateway config:
cp conf/config.json.template conf/config.jsoncd ~/
git clone https://github.com/memphisdev/memphis.git
cd memphis
CGO_ENABLED=0 go build -ldflags="-w" -a -o .
cp memphis ~/memphis-dockerless/nats-servercd ~/
git clone https://github.com/memphisdev/memphis-rest-gateway.git
cd memphis-rest-gateway
CGO_ENABLED=0 go build -ldflags="-w" -a -o .
cp rest-gateway ~/memphis-dockerless/rest-gatewayovermind start