Table of contents

Prerequisites

Here is a list of prerequisites you should need for development and for whole system to work.

Docker

Install docker on your system (Ubuntu/MacOS/Windows):

Docker Compose

Install docker-compose on your system:

MongoDB

Install MongoDB on your system:

Eventstore

Install Eventstore on your system without Eventstore API will not work.

Node

Install Node runtime on your system:

NPM

NPM will be already installed as part of Node runtime.

Yarn

Install Yarn on your system:

GitHub Repos

Here is a list of all GitHub Repos you should need for development.

GitHub Access

Contact: djordjestojilljkovic@gmail.com for access to any of these repositories.

Mynion Build

Link: https://github.com/unckleg/mynion-build

Mynion Site

Link: https://github.com/unckleg/mynion-site

Mynion System

Link: https://github.com/unckleg/mynion-system

Mynion Medium

Link: https://github.com/unckleg/mynion-medium

Mynion Dashboard

Link: https://github.com/unckleg/mynion-dashboard

Mynion Mobile

Link: https://github.com/unckleg/mynion-mobile

Mynion Documentation

Link: https://github.com/unckleg/mynion-system-docs

Mynion Board

Link: https://github.com/unckleg/mynion-board

Mynion Evenstore

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

Development

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.

  • Mynion System run: yarn start:dev
  • Mynion Dashboard run: yarn start
  • Mynion Site run: 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

OpenAPI/Swagger

Deployment

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.

System Monitoring & Errors

We are using sentry for monitoring & error handling, contact: djordjestojilljkovic@gmail.com for access to Sentry dashboard.

SSL Sertificates

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

Documentation

Board

Contact: djordjestojilljkovic@gmail.com for new account creation.

result-matching ""

    No results matching ""