Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 709 Bytes

HOW_TO_RUN.md

File metadata and controls

48 lines (31 loc) · 709 Bytes

How to Run

There are two ways to run the application. The first is to setup all dependencies manually. The second is to use docker images and docker compose.

Manual

  • Create .env file

    You can copy the env.sample and change its values.

    $ cp env.sample .env
    
  • Run the application

    $ go run main.go
    

Docker

  • Install Docker Compose.

  • Download the dependencies

    $ make tidy
    
  • Compile the backend binary

    $ make compile-server
    
  • Build backend-server image

    $ make docker-build-server
    
  • Run docker compose

    $ docker-compose up