VIDEO-CONVERSION-SERVICE
- go (version 1.19+)
- ffmpeg
- air (only for development locally)
Install dependencies
$ go install github.com/cosmtrek/air@latest
# then
$ go mod vendor
# and
$ go mod tidyTo edit environment variables, create a file with name .env and copy the contents from .env.example to start with.
Run Locally
$ airBuild for production
$ swag init
# then
$ go build -o video-conversion-service
# then
$ ./video-conversion-serviceThe application uses default logger of gin. The configuration file is at main.go.
- All logs are saved in
./logsdirectory. - Success logs save inside
.logs/success.log - Error logs save inside
.logs/error.log