Files
remark42/backend/_example/memory_store
Dmitry VerkhoturovandUmputun 9dbc36e426 remove explicit /srv/ usage from docker-compose files
We have plenty of paths used in the application, but two of them
are hardcoded in examples all over the code for historical reasons.

I found that by default in Docker, the path would resolve to the value
we are setting it explicitly to, so it doesn't make sense to set
a few variables we are setting now explicitly.
2022-02-07 03:54:54 -06:00
..
2022-01-31 14:24:33 -06:00
2022-02-06 14:22:27 -06:00
2022-01-31 14:24:33 -06:00

sample store implementation

memory_store illustrates how to make a custom storage plugin for remark42.

In order to run remark42 with memory_store copy provided compose-dev-memstore.yml to the root directory and run:

  1. docker-compose -f compose-dev-memstore.yml build
  2. docker-compose -f compose-dev-memstore.yml up

As usual, demo site will run on http://127.0.0.1:8080/web/

note: in order to work with the latest (current) version of master go.mod uses replacement directive for the backend package. In real-life usage replace github.com/umputun/remark42/backend => ../../ should not be used.