crnt-data-manager

module
v0.0.0-...-5d37a61 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2023 License: MIT

README ΒΆ

crnt-data-manager πŸ‘¨πŸ’Ό

This service is an entrypoint to CurrentTask task-manager, which means that all the actions performing with the task-manager are being processed through this service

Running πŸƒ

In the root directory there is a Makefile. All the commands you need are stored there.

  1. Install brew
  2. Install Go, preferably the latest version
  3. Install Make. If you are using Mac, you may install XCode
  4. Install Docker
  5. In the root directory type:
    1. make buf-install (only for first time)
    2. make generate - generates proto and swagger files
    3. Ask me for .env file 😊
    4. make run-all - running application

πŸ€” Actually, only 'make run' is necessary. The shortest way to run the app:

  1. Install Go
  2. Ask me for .env file 😊
  3. Type in the root directory command which is hidden under make run-all in Makefile

βš› By default, app starts at port 9090 for GRPC and 8080 for HTTP. If you have any troubles with these ports, you may change them in the .env file in the root directory.

πŸ’» Swagger UI is also provided, by default on localhost:8080/swagger/

πŸ”ƒ You may change services in the menu in the top right corner named 'Select a definition'.

❗ For now, only HTTP schema is provided.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL