Coder Social home page Coder Social logo

dev-lusaja / python-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 0.0 21 KB

boilerplate for python projects

Makefile 19.84% Python 56.62% Dockerfile 1.70% Shell 21.84%
python hexagonal-architecture hexagonal clean-architecture python-docker python-hexagonal python-architecture

python-boilerplate's Introduction

Requerimientos

  • Docker
  • docker-compose
  • Make

Ambiente de desarrollo

1.- Buscar dentro de app/ el archivo .env.dist y quitarle la extensión .dist

2.- Ejecutar el siguiente comando que creara e iniciara el ambiente de desarrollo

$ make development

NOTA:

  • Si ya tienes creado el ambiente de desarrollo puedes iniciarlo con: make container-up
  • El proyecto se iniciara en el puerto 80 del host ej: http://localhost/health
  • El archivo .env esta ignorado en este proyecto

Pruebas unitarias modo desarrollo (UnitTest)

Se esta utilizando pytest como suite de testing

$ make development-unit-test

Generar imagen de docker empaquetada para despliegue

$ make deploy-image

NOTA:

  • Esta imagen de docker se recomienda para desplegar la aplicación
  • Los unit test empaquetados para deploy se pueden ejecutar con deploy-unit-test

Mas comandos

Para ver la lista completa de comandos ejecute:

$ make

python-boilerplate's People

Contributors

dependabot[bot] avatar dev-lusaja avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.