Files
remark42/backend/_example/memory_store
Dmitry VerkhoturovandUmputun f416c6c5eb Fixes for multiple tests (#511)
* improve TestServer* reliability

* improve TestService_UserReplies reliability

* increase timeout for Test_Main

* improve TestRest_CreateWithPictures readability and reliability

* introduce random port to REST over SSL tests

* tinker TestRest_InfoStreamSince to have more slack before failure

* finalize test errors check unification

* simplify prepServerApp in cmd package tests

* improve TestRest_InfoStreamCancel reliability
2019-12-30 12:09:05 -06:00
..
2019-12-30 12:09:05 -06:00
2019-08-01 01:49:58 -05:00
2019-08-23 03:12:08 -05:00
2019-08-01 01:49:58 -05:00
2019-08-01 01:49:58 -05: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/remark/backend => ../../ should not be used.