Categorygithub.com/Brigant/TestTask
module
0.0.0-20230819160727-bb0b6aeec93f
Repository: https://github.com/brigant/testtask.git
Documentation: pkg.go.dev

# README

TestTask

How to run!

Install docker docker. Install docker-compose docker-compose. Make copy of .env_example with name .env. Specify the need configuration values.

For development

For the local development it is usefull make the application run without rebuiling of the application container. It just runs only database container and runs the app code localy. For that purpose the command exists:

make devrun

To stop runnin dev containers:

make devstop

For migration up:

make migration-up

!!! For downward migration in the file change the argument "-all" to the number of desired downward migrations, for example "1". Use command:

make migrate-down

For production

How to run at first time or rebuild application

Run command:

make build

How to stop

Run command:

make down

# Packages

No description provided by the author
No description provided by the author