Giter VIP home page Giter VIP logo

pjt-assess-debug's Introduction

Notice d’installation sur Windows 64 bits

Python

Télécharger Python 2.7.10 https://www.python.org/downloads/

 

 

Si il y a un problème dans la suite de l’installation avec un message d’erreur « there is a problem with this windows installer package », le problème peut venir de « pip ». Pensez à le désélectionner peut résoudre votre problème.

 

NotePad++ (pour editer)

Télécharger NotePad ++ https://notepad-plus-plus.org/download/v6.7.8.2.html

Bibliothèques Python nécéssaires

Numpy

http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy choisir le numpy1.9.2+mklcp26nonewin_amd64.whl

Scipy

http://www.lfd.uci.edu/~gohlke/pythonlibs/#scipy choisir le scipy0.15.1cp26nonewin_amd64.whl

 

Sympy
http://www.sympy.org/fr/index.html

Bottle

            Ecrire  « pip install bottle » directement dans le projet ou faire « wget http://bottlepy.org/bottle.py » dans le dossier du projet.

Matplotlib

http://matplotlib.org/downloads.html et choisir le fichier matplotlib-1.4.3-cp26-none-win_amd64.whl

XlsxWriter

Ecrire directement dans le projet « sudo pip install XlsxWriter » si cela ne marche pas essayez d’écrire  « sudo easy_install XlsxWriter » dans le code.

Openpyxl

https://pypi.python.org/pypi/openpyxl

Travail MAJ par le groupe du semestre 2 2015 https://github.com/leosayous21/asses

Aller sur https://assess2.herokuapp.com/ pour voir le rendu du projet



Procédure de lancement

  • En local

$ python website.py local

 

Tout se fait automatiquement en important la branche git

 

 

Structure des fichiers

 

  • static

            Contient les dossiers et fichiers statiques de la web app

    • css

            Tout ce qui a un rapport avec le design

      • bootstrap.css
      • bootstrap.min.css
      • sb-admin.css
      • sb-admin2.css
    • fonts
    • font-awesome
    • img

Contient les images utilisées dans le site

    • js
      Les fichiers et fonctions javascript
      • plugins
      • ZeroClipboard

            permet de faire “Copy to clipboard

      • bootstrap.js
      • boostrap.min.js
      • export.js
      • jquery-1.11.0.js
      • k_calculus.js
        fichier javascript relié au template k_calculus
      • plot.min.js
      • tree.js

            fichier javascript content l’objet tree utilisé pour faire la lotterie

  • views

            fichiers qui sont appelées par website.py lorsque l’on fait une requète du style  http://assess2.herokuapp.com/questions ou http://assess2.herokuapp.com/exports

    • Attributes.tpl
    • blank-page.tp
    • exports.tpl
    • header_end.tpl
    • header_init.tpl
    • import.tpl
    • js.tpl
    • k_calculus.tpl
    • questions.tpl
  • bottle.py

Ceci est la librairie python permettant de faire tourner le serveur http

  • export_xls.py

Permet de faire l’exportation au format xls à l’aide de la librairie :

  • fit.py

Contient la fonction regressions(liste_cord): permettant de renvoyer les fonctions exponentiels, quadratiques, puissance, logarithmique, linéaires à partir d’une liste de points.

  • kcalc.py
  • methods.py
  • plot.py

fichiers permettant de tracer les graphs svg. ll contient la fonction suivante

           

  • website.py

Fichier python permettant de connecter les requettes http aux fichiers en question.

  • requirements.txt

Permet à heroku de connaitre les librairies à installer

 

 

pjt-assess-debug's People

Contributors

chaimaa1997 avatar buninadev avatar holidayr123 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.