You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# Drone Example
|
|
|
|
|
|
|
|
[![Build Status](https://build.phc.dm.unipi.it/api/badges/phc/drone-example/status.svg)](https://build.phc.dm.unipi.it/phc/drone-example)
|
|
|
|
|
|
|
|
Un piccolo progetto di esempio per mostrare come funziona [Drone](https://build.phc.dm.unipi.it)
|
|
|
|
|
|
|
|
# Test
|
|
|
|
|
|
|
|
```bash shell
|
|
|
|
$ go test -v ./...
|
|
|
|
```
|
|
|
|
|
|
|
|
# Build
|
|
|
|
|
|
|
|
```bash shell
|
|
|
|
$ go build -o ./bin/drone-example .
|
|
|
|
```
|
|
|
|
|
|
|
|
# Docker
|
|
|
|
|
|
|
|
```bash shell
|
|
|
|
$ docker build -t drone-example .
|
|
|
|
$ docker rm -f drone-example
|
|
|
|
$ docker run -d -p 127.241.212.77:1098 --restart always --name drone-example drone-example
|
|
|
|
```
|