drops-backend

command module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2020 License: GPL-3.0 Imports: 12 Imported by: 0

README

drops-backend

drops implementation with go and echo

use

install docker-compose

redis

run docker-compose up -d redis

database

run docker-compose up -d drops-database && mysql -u drops -pdrops -h 172.2.200.1 drops < drops-database.sql

development

1. Install Go language

Like here: https://itrig.de/index.php?/archives/2377-Installation-einer-aktuellen-Go-Version-auf-Ubuntu.html

2. Install dependecies
go get github.com/go-playground/validator
go get github.com/go-redis/redis
go get github.com/go-sql-driver/mysql
go get github.com/google/uuid
go get github.com/jinzhu/configor
go get github.com/labstack/echo
go get github.com/labstack/echo-contrib/session
go get github.com/rbcervilla/redisstore
go get golang.org/x/crypto/bcrypt
3. Checkout drops-backend

git clone https://github.com/Viva-con-Agua/drops-backend.git

4. Run server

Start server wiht go run server.go

5. update nginx

Update IP to you local IP in develop-pool branch at routes/nginx-pool/pool.upstream and restart nginx-pool docker with docker restart pool-nginx

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL