Git Product home page Git Product logo

jenkins-django-pipeline's Introduction

API Desafio

Python - 3.6.0

Django - 2.2.5

Django RestFramework - 3.9.4

Docker - 18.09.7

docker-compose --version - 1.24.1

Criar o .env da aplicação:

  1. Criar o ponto o .env no diretório do manage.py
    Arquivo do .env será enviado por email

Instalação do Desafio com Docker

  • Executar o seguinte comando para baixar as depedencias da api:
make build
  • Execute o seguinte comando para subir a imagem do postgresql:
make up-postgresql
  • Executar os seguintes comandos para criar o banco de dados no postgresql (em sequência):
make create-role
make alter-role
make create-db
  • Para subir os ambientes virtuais, execute:
make up
  • Para subir os ambientes em modo de desenvolvimento, execute:
make run

  • Verificar se os containers estão rodando sem falhas docker ps

produto:

  • Urls: * api/produto/
    * /
    * /create
    * /detail-update/{id}
    * /delete/{id}

predido:

  • Urls: * api/produto/
    * /
    * /create
    * /detail-update/{id}
    * /delete/{id}

jenkins-django-pipeline's People

Contributors

baptvit avatar dependabot[bot] avatar

Watchers

 avatar

Forkers

shub5122

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.