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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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
⌂ 换网址