Git Product home page Git Product logo

opendossard's Introduction

Open Dossard est une application à destination d'organisateurs d'évènement sportifs. Elle est constituée d'une API et d'un front en ReactJS. Voici une courte démonstration des fonctionnalités de l'outil.

Installation en mode développement

./od.sh install        # install dependencies
./od.sh start          # start all services
./od.sh stop           # stop all services

Installation en mode production

./od.sh goprod        # raise a git pull followed by docker-compose down and up 

Attention à bien suivre les étapes d'installation des certificats SSL

Afficher les logs applicatif

./od.sh log api
./od.sh log webapp

Base de données Postgres

Les fichiers d'initialisation de la base (schéma + chargement initial des données) sont situés dans le répertoire services/api/sql/init Il est possible de configurer la base de données manuellement ou automatiquement via :

./od.sh installdb

Autre ressources

Installation des certificats SSL en mode Wildcard avec certbot / DNS Gandi

  • Première installation du certificat
certbot certonly -a certbot-plugin-gandi:dns --certbot-plugin-gandi:dns-credentials <GANDI_INI_PATH> -d opendossard.com -d \*.opendossard.com  --server https://acme-v02.api.letsencrypt.org/directory --email [email protected] --agree-tos -n
  • Ensuite dans le cron
  0 0 * * 0 certbot -q renew -a certbot-plugin-gandi:dns --certbot-plugin-gandi:dns-credentials <GANDI_INI_PATH> --server https://acme-v02.api.letsencrypt.org/directory
  • Insérer dans le fichier gandi.ini la clé de la façon suivante :
certbot_plugin_gandi:dns_api_key=API_KEY
[email protected]
  • Ne pas oublier de générer dhparam pour avoir la note A+
 openssl dhparam -out dhparams.pem 2048

Pré-requis pour installer un nouveau serveur

  • apt-get install => docker, docker-compose, git, certbot

opendossard's People

Contributors

dngconsulting avatar gcharlemagne avatar guillaume-at-palo avatar jeromerub avatar lzyphil avatar mlounnas 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.