Hi,
I am working with Event Store on a Dockerized environment. I need to load a series of custom projections when the EventStore container boots up.
Currently, I am using the REST API via a script that looks like this:
for projection in $PROJECTIONS
do
name=$(basename $projection .js)
curl “http://eventStore:2113/projections/continuous?name=testing1&emit=yes&checkpoints=yes&enabled=yes”
-i -d @$projection
–user admin:changeit
-H “Content-Type: application/json;charset=UTF-8”
done
``
I was wondering whether Event Store looks in a particular directory to load custom projections (it would be nice if I could simply mount such directory).
Thanks