πŸ‘©β€πŸ’»Contributing

High-Level Architecture of the Main Framework Used in the Application

Setup from the ground up 🌱

circle-info

Scalability Branch

circle-info

The requirements in this section are only necessary if you want to work from the scalability branch.

1. Installation of MongoDB Community Edition

Follow the installation instructions depending on your OS MongoDB Installationarrow-up-right.

Install MongoDB on Windowsarrow-up-right

2. Installation of MongoDB database tools

Follow the installation instructions depending on your OS MongoDB Database Tools Installationarrow-up-right.

1. Installation of Nvm

2. Installation of npm/node.js

3. Clone the repository

circle-exclamation

4. Setup server side (Go)

4.1 Installation of Go

  1. Download the latest stable release of Go from the official website: https://golang.org/dl/arrow-up-right

  2. Follow the installation instructionsarrow-up-right for your operating system.

4.2 Setup of environment

Execute these commands in a cmd prompt:

After, close all your terminals because these commands will take effects on the initialisation of any terminal

4.3 Verify installation

  1. Open a new terminal

  2. Run the command go version

  3. If Go is installed correctly, you should see the version number printed to the console.

4.4 Setup for the application

  1. Open a new command prompt and go to the <repo path>/go_server directory.

  2. Run the command go run main.go (on first time, it should download requiered libraries and lunch the server)

  3. you can terminate the process by pressing CTRL + C

  4. Then build the app by running go build main.go (It should create an executable file -> that file will be run by the client side javascript so modification to .go files must be followed by a rebuild) Congratulations, you're now ready to start developing Go applications!

5. Init submodules

6. Start the electron app !

circle-exclamation
circle-info

Modify startup settings

  1. Go to file medomics.dev.js

  2. Here is a description of the Object:

To Test the Production Build

Build the Electron app and Run the built version

The built app will be located in the build/dist folder

Last updated