Coder Social home page Coder Social logo

oc_p12_epicevents's Introduction

OpenClassRoom - Projet 12 - Epic Events

Utilisation

Environnement virtuel

Pour mettre en place l'environnement virtuel nécessaire pour faire fonctionner le script, procéder comme suit :

Dans un terminal ouvert dans le dossier où vous avez cloné le repository, installez poetry :

python -m pip install poetry

Activez l'environnement, il se créera automatiquement dans votre dossier racine :

Windows / Mac / Linux

poetry shell

Si l'environnement c'est bien activé, le nom de l'environnement s'affichera à gauche de l'indicateur de position dans le terminal

Installez tout les packages dans votre environnement virtuel :

poetry install

Base de donnée

Lancer le container docker contenant postgres

docker compose -f "docker-compose.yml" up -d --build

Serveur

Avant de lancer le serveur, effectuer les migrations :

python manage.py makemigrations
python manage.py migrate

Pour lancer le serveur, entrez cette commande dans un invite de commande :

python manage.py runserver 8000

Dans votre navigateur, entrez l'adresse : 127.0.0.1:8000/admin pour arriver sur le site

oc_p12_epicevents's People

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.