Giter Site home page Giter Site logo

p11's Introduction

P11 - Améliorez un projet existant en Python.

Voici les améliorations apportées au projet 8 :

  • Les utilisateurs peuvent changer leurs nom, prénoms et mot de passe.
  • Fonctionnalité "Mot de passe oublié".
  • Ajout des tests selenium.
  • Sauvegarde des produits sélectionnés avec des variables de session pour les utilisateurs non connectés.

Installation

  1. Virtualenv & requirements.txt
virtualenv -p python3 env
source env/bin/activate
pip install -r requirements.txt
  1. Variables d'environnement
NAME="nom_de_la_bdd"
USER="votre_nom"
PASSWORD="mot_de_passe"
SENDGRID_API_KEY="clé_api"
  1. Faire les migrations
./manage.py migrate
  1. Lancer les tests
./manage.py test
  1. Remplir la base de données
./manage.py add-level -l "low"
./manage.py add-level -l "moderate"
./manage.py add-level -l "high"

# add-product -n [nutriscore] -c [catégorie]
./manage.py add-product -n "a" -c "Desserts"

p11's People

Contributors

jeremy10000 avatar

Watchers

James Cloos avatar  avatar

Forkers

tchappui

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.