Giter VIP home page Giter VIP logo

web-services's Introduction

Projet sur les Webservices

Installation avec Docker :

Docker est requis.

  • Cloner le repository : git clone https://github.com/izio38/web-services.git
  • Se placer dans le projet : cd web-services
  • Lancer toutes les applications : docker-compose up -d

Les URL's :

  • SoapGen : https://localhost/soapgen.
  • SoapClient : http://localhost:8080/soapclient.php.
  • Api platform : https://localhost/api.

Installation sans Docker :

Avant de commencer il faudra :

Il faudra ensuite faire les étapes suivantes :

  • Cloner le repository : git clone [email protected]:izio38/web-services.git.
  • Se placer dans le projet : cd web-services.
  • Installer les bundles dépendants : composer install.
  • Changer LES URL SUIVANTES :
    • .env : Changer la variable DATABASE_URL et mettre l'endpoint de votre serveur de base de données.
    • /soapclient/soapclient.php : remplacer http://nginx:80 par l'url de votre serveur Symfony.
    • /src/Controller/SoapController.php : remplacer http://nginx:80 par l'url de votre serveur Symfony.
    • /src/Controller/SoapGenController.php : remplacer http://nginx:80 par l'url de votre serveur Symfony.
  • Lancer le serveur Symfony : symfony serve &.
  • Placer le dossier /soap-client sur un proxy web style Apache ou Nginx.

Les URLs :

Vous pouvez maintenant accèder au dossier soap-client que vous avez placez sur un proxy web. La plupart du temps vous y accèderez (sauf modification de votre part) via l'url : http://localhost/soap-client/soapclient.php

Ajouter les fixtures :

Une fois que la base de données est configurée, il est possible de lancer les fixtures à l'aide de la commande : php bin/console doctrine:fixtures:load.

ATTENTION: Si vous n'utilisez pas Docker, il faudra d'abord installer les bundles à l'aide de la commande: composer install

web-services's People

Contributors

iziodev avatar

Watchers

 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.