Micro (services) man (me and you) go (lang) - is my little pet project to train code and learn how to do things. I really love to read manga and keep lists. So I decided that write my own manga catalog and reader is a good idea.
Anyway the first of all you have to clone this repository.
foo@bar/$ git clone https://github.com/cl1ckname/micromango
then create .env
file. An example of it you can find in .env-example
. There is no need to change something in it, but
you can rewrite ports or paths to databases
-
Clone client repository
foo@bar/$ git clone https://github.com/cl1ckname/micromango-client
or just
foo@bar/$ make client
-
Build and run compose set
foo@bar/$ docker compose up -d
-
have fun
-
Install pm2 if you don't have
foo@bar/$ npm i -g pm2
-
Run cluster using
foo@bar/$ pm2 start ecosystem.config.js
or using
Makefile
foo@bar/$ make up