Coder Social home page Coder Social logo

kudi's Introduction

Krowd

Pré-requis d'installation

L'api de krowd est développée sous NodeJS avec comme DB Mongo. Elle peut être lancée en local dans un containeur comme à l'exterieur. L'application est entièrement dockerisée. ainsi pour la lancer, certaines appli doivent être installée avant.

  • Docker
  • Docker-compose
  • Git
  • Nodejs (v14 et plus) (pour l'utilisation hors container docker)
  • Yarn

Etape 1 - Installation Git

Installer Git

Etape 2 - Installation Docker

Installer docker via les instruction de Digital ocean (sous Ubuntu 20/Debian 10)

Installer docker

Etape 3 - Installation Docker-compose

Installer docker-compose

NB: Installer la dernière version stable (Consulter les releases docker-compose)

Etape 4 (facultative) - Installer NodeJS

Cette étape n'est pas nécessaire si on lance krowd avec docker

Passez par le gestionnaire de packet NVM pour installer NodeJS

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash

Ou

wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash

Chargez nvm sur le terminal

export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"

nvm install [version de node]. Exemple: nvm install v14.14.0 pour la version 14.14.0 de NodeJS

Lancer Krowd

Une fois les pré-requis installés, clonez le présent repo

git clone [email protected]:tchiss/krowd.git krowd-api

se positionner dans le repertoire krowd-api

cd krowd-api

lancer krowd-api via docker-compose

docker-compose up

krowd-api est en mode développement sur http://localhost/api ou http://localhost:3900/api comme l'image ci-dessous

vous pouvez consulter depuis le navigateur ou un client type postman

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.