Here is a list of prerequisites you should need for development and for whole system to work.
Install docker on your system (Ubuntu/MacOS/Windows):
Install docker-compose on your system:
Install MongoDB on your system:
Install Eventstore on your system without Eventstore API will not work.
Install Node runtime on your system:
NPM will be already installed as part of Node runtime.
Install Yarn on your system:
Here is a list of all GitHub Repos you should need for development.
Contact: djordjestojilljkovic@gmail.com for access to any of these repositories.
Link: https://github.com/unckleg/mynion-build
Link: https://github.com/unckleg/mynion-site
Link: https://github.com/unckleg/mynion-system
Link: https://github.com/unckleg/mynion-medium
Link: https://github.com/unckleg/mynion-dashboard
Link: https://github.com/unckleg/mynion-mobile
Link: https://github.com/unckleg/mynion-system-docs
Link: https://github.com/unckleg/mynion-board
Link: https://github.com/unckleg/mynion-system-eventstore
NOTE: When cloning the any of repositories use this git command to
fetch all required submodules:
git clone --recurse-submodules -j8 http://repository-url
Before running any of cloned projects run
yarn install
to install all dependencies.
Before running any of cloned projects make sure your MongoDB & Eventstore docker containers are up and running.
yarn start:dev
yarn start
yarn start
After making changes in any of repositories make sure you commit changes in repository root submodule and push them before pushing master repo. After pushing repository submodule changes, commit & push master repo with this commands:
git add .
git commit -m "Message"
git push --recurse-submodules=on-demand
swagger =>
NOTE: in build/apps/deploy run: yarn install
first.
After developing and pushing all changes (including repo submodules), you should pull changes in build repo, and run set of commands to deploy them.
git submodule update --recursive --remote (in build repo folder)
git add .
git commit -m "Newest changes"
git push
cd build/apps/deploy
yarn run deploy
If you followed all the steps above the changes will be deployed on the server with.
We are using sentry for monitoring & error handling, contact: djordjestojilljkovic@gmail.com for access to Sentry dashboard.
We are using Certbot for certificates, all you should do from time to time is to renew them. SSL Sertificate Renewal commands:
ssh root@35.181.144.5 -p 'Bm9UZ9LM'
sudo certbot renew --dry-run
sudo service nginx restart
Contact: djordjestojilljkovic@gmail.com for new account creation.