Code Monkey home page Code Monkey logo

opensnp.org-docker's People

Contributors

gedankenstuecke avatar philippbayer avatar tsujigiri avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

opensnp.org-docker's Issues

Docker for Graphs with R

Ok, so I now figured out that there's a rocker/hadleyverse Docker image already which we could use to generate the usage/growth graphs daily via a cronjob.

What I tried so far (it seemed to work) is run the following from the opensnp_misc folder:

docker run --name plot -v $(pwd):/home/rplots -w /home/rplots rocker/hadleyverse
in combination with the following command
docker exec plot Rscript plotUsers.r
It then writes the stuff into my mounted directory on the host-machine.

But what do I now have to do to make this useful for our deployed version? I guess our mountpoints will have to be adjusted to the public-directories on the webserver etc but what else?

Still somehow wants ruby 2.2

I'm getting this error when starting nginx:

App 595 stdout: 
App 595 stderr: *** ERROR ***: Cannot execute /usr/bin/ruby2.2: No such file or directory (2)
[ 2017-06-02 02:52:01.3922 532/7f1a4c064700 age/Cor/App/Implementation.cpp:304 ]: Could not spawn process for application /home/app/snpr: An error occurred while starting up the preloader. It exited before signalling successful startup back to Phusion Passenger.
  Error ID: f8f850bd
  Error details saved to: /tmp/passenger-error-MSDQkF.html
  Message from application: An error occurred while starting up the preloader. It exited before signalling successful startup back to Phusion Passenger. Please read <a href="https://github.com/phusion/passenger/wiki/Debugging-application-startup-problems">this article</a> for more information about this problem.<br>
<h2>Raw process output:</h2>
<pre>
*** ERROR ***: Cannot execute /usr/bin/ruby2.2: No such file or directory (2)
</pre>

Currently circumventing by symlinking 2.2 to 2.3, but that's not a permanent solution and will revert on next deploy. Checking what happened here.

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.