30 lines
764 B
Markdown
30 lines
764 B
Markdown
# Trikotwaschliste
|
|
|
|
Website: [https://deizisauer-waschweiber.de/](https://deizisauer-waschweiber.de/)
|
|
|
|
## Setting up a development environment
|
|
* Install docker and docker-compose
|
|
* Run the docker-compose development file
|
|
```shell script
|
|
sudo docker-compose -f docker-compose_dev.yml up -d
|
|
```
|
|
This will start pgadmin on port `8084` and a postgres-db on port `8081`
|
|
* Run the program `trikotwaschliste` to execute the database migrations.
|
|
|
|
## Building
|
|
|
|
```sh
|
|
go build
|
|
```
|
|
|
|
## Upgrade vendor dependencies
|
|
|
|
To update your local dependencies use the following command inside the root of this project:
|
|
```sh
|
|
go get -u -t ./...
|
|
```
|
|
This will update the `go.mod` and `go.sum` file. To get the dependencies inside the vendor folder use:
|
|
```sh
|
|
go mod tidy
|
|
go mod vendor
|
|
``` |