Git Product home page Git Product logo

kata-rest-tdd2's Introduction

Kata rest TDD 2

Las Katas son prácticas de código que nos ayudan a mejorar. Estas prácticas usan los TDD (test unitarios) y los principios SOLID y se utilizan para mejorar nuestra programación, mejorar nuestros tiempos y aprender métodos nuevos.

Nota:

Requisitos

Instalar los siguientes programas:

sudo apt install python3
sudo apt install python-pip
sudo apt install python3-dev
sudo apt install libpq-dev

pip install virtualenv

Ejecutar el proyecto por primera vez

Descargar el proyecto:

git clone https://github.com/juanalvarez123/kata-rest-TDD2.git

Ir a la carpeta del proyecto e instalar el ambiente virtual:

cd kata-rest-TDD2
virtualenv -p python3 env

Esto creará la carpeta env en la raíz del proyecto. Luego:

# Activar el ambiente virtual
source env/bin/activate

# Instalar los paquetes del proyecto
pip install -r requirements.txt

# Ejecutar las migraciones pendientes
python manage.py migrate

# Correrlo !
python manage.py runserver

¿Cómo ejecutar el proyecto las siguientes veces?

cd kata-rest-TDD2
source env/bin/activate
python manage.py runserver

kata-rest-tdd2's People

Contributors

juanalvarez123 avatar dependabot[bot] avatar

Watchers

James Cloos avatar  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.