Giter Club home page Giter Club logo

meetrics's People

Contributors

chasdevs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

meetrics's Issues

Failed to connect database

Me again.. any advice for why I can't find the database this time?

aki-macbook-pro:meetrics akibalogh$ docker run --rm -e DB_HOST="host.docker.internal" -v `pwd`:/app chasdevs/meetrics | tee out.log
time="2020-04-16T21:47:17Z" level=info msg="Environment: development\n"
panic: failed to connect database

goroutine 1 [running]:
github.com/chasdevs/meetrics/pkg/data.Init()
	/app/pkg/data/data.go:35 +0x18c
main.init.0()
	/app/main.go:27 +0x2e

I can run docker-compose up -d mysql but not the go program

Docker can't read config/development.yml

aki-macbook-pro:meetrics akibalogh$ docker run --rm -e DB_HOST="docker.for.mac.localhost" chasdevs/meetrics
time="2020-04-08T21:59:27Z" level=info msg="Environment: development\n"
time="2020-04-08T21:59:27Z" level=error msg="Error reading config file. Check to make sure the config/development.yml file exists."
panic: open /app/config/development.yml: no such file or directory

goroutine 1 [running]:
github.com/chasdevs/meetrics/pkg/conf.init.0()
/app/pkg/conf/conf.go:27 +0x2db

Force refresh

One more question: I understand this script runs overnight. Is there a command to force it to refresh immediately?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.