Git Product home page Git Product logo

jdn2014's Introduction

Application jdnApp

Application développé pour organiser la Just Diplomed Night à l'IG2I. Développeur :

Documentation du projet : Docs en ligne

1. Installer le projet

Installer les dépendances php avec composer. Dans app/api/laravel :

composer.phar install

2. Lancer un serveur

Note Importante : Sachant que le Basic Auth ne fonctionne pas avec php CGI utilisé par le module grunt-php, il faut mettre l'ensemble du projet dans un environnement de dev (WAMP, MAMP, LAMP, ...). Et du coup, plus besoin d'utiliser le grunt serve.

On ne se servira de grunt uniquement pour générer le dist, effectuer les tests, compiler le sass, ...

Les urls :

le site : http://localhost/jdn2014/app/

l'api : http://localhost/jdn2014/app/api/laravel/public/v1

l'admin : http://localhost/jdn2014/app/api/laravel/public/admin

3. Dev note

  1. Basic Auth ne fonctionne pas avec le module grunt-php... Il faut donc utiliser un serveur php de dev (WAMP, MAMP, LAMP, ...) Pour être sûre de ne pas avoir d'erreur lors de l'authentification : Invalid credentials Solution alternative à chercher...

  2. Pour tester l'API REST, utiliser POSTMAN uniquement sur Chrome

4. Laravel

  1. Pour voir la table de routage de l'appli :

    php artisan route

  2. Pour installer la base de donnée :

    • configurer la connexion dans laravel/app/config/database.php
    • Créer les tables php artisan migrate
    • Créer les jeux de test php artisan db:seed

5. Compilation de la documentation

Soit vous pouvez visualiser les fichiers dans le dossier Docs/. Soit vous pouvez compiler la documentation avec MkDocs

  1. Installer Python 2.7 et Pip 1.5
  2. Installer MkDocs : pip install mkdocs
  3. Compiler la doc : mkdocs build ou visualiser la doc : mkdocs serve à l'adresse http://localhost:8000

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.