Giter Site home page Giter Site logo

marv-site's Introduction

Example MARV site

This is an exemplary setup of a MARV site using the experimental MARV Community Edition docker image.

The published docker image is built with the contained ./.dockerfile.

This is meant for easy evaluation and publication of minimal working examples to reproduce issues.

Setup

Generate self-signed certificate:

openssl genrsa -out etc/uwsgi-ssl.key 2048
openssl req -new -key etc/uwsgi-ssl.key -out etc/uwsgi-ssl.csr
openssl x509 -req -days 3650 -in etc/uwsgi-ssl.csr -signkey etc/uwsgi-ssl.key -out etc/uwsgi-ssl.crt

Enable https in etc/uwsgi.conf:

[uwsgi]
http = :8000
https = :8443,%d/uwsgi-ssl.crt,%d/uwsgi-ssl.key
...

Build and start container:

MARV_SCANROOT=path/to/your/bags ./build.sh

Marv will be served by uwsgi on port 8000 and 8443 for https.

Reporting issues / Minimal working example

In order to provide a minimal working example to reproduce issues you are seeing, please:

  1. Create a fork of this repository and clone it
  2. adjust configuration in ./etc accordingly
  3. if there is custom code involved, please add a minimal working example based on it to a python package in ./addons. We don't need to see your real code, but we cannot help without code.
  4. create a scanroot folder and add minimal bags or other log files as needed
  5. make sure the site exposes the issue(s) you are seeing
  6. Push your changes to your fork
  7. Create an issue in https://github.com/ternaris/marv-robotics/issues and reference your fork in it.

Errors

[uwsgi-ssl] unable to assign certificate /etc/marv//uwsgi-ssl.crt for context "http-:8443"

This means uwsgi could not find the SSL certificate which should be right next to etc/uwsgi.conf (see above).

Further reading

marv-site's People

Contributors

chaoflow avatar

Watchers

James Cloos avatar Berend Kupers avatar

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.