Pluggin Integration with Collect System Architecture
You can find the design document here : https://docs.google.com/document/d/1pMkGttRhusGYT7Sk961c0LYz1vnuowx-sjouUJtxf8k/edit#
Follow the following steps:
- Create your
.env
file and add you mongoDB URI in the variable nameMONGODB_URI
- You can add your port using
PORT
env variable. Bydefault it is 3000. - Type
go get
to fetch all the packages required. - Type
make run
, your server should start.
NOTE: If error pops out which says plugin and application version are inconsistent, you will have to build the plugin again using this code :
go build -buildmode=plugin -o actions/<ACTION_NAME>/action.so actions/<ACTION_NAME>/action.go