Skip to content

Latest commit

 

History

History
executable file
·
33 lines (20 loc) · 881 Bytes

README.md

File metadata and controls

executable file
·
33 lines (20 loc) · 881 Bytes

Python Skeleton for Micorservices

Getting started

Requirements

You need to install Docker in your machine if you haven't already Docker

Development

Follow the next steps to set up the development environment in your machine.

  1. Clone the repo and go to the folder
git clone https://github.com/Vizzuality/nex-gddp
cd nex-gddp
  1. Run the ms.sh shell script in development mode.
./nexgddp.sh develop

If this is the first time you run it, it may take a few minutes.

Code structure

The API has been packed in a Python module (ps). It creates and exposes a WSGI application. The core functionality has been divided in three different layers or submodules (Routes, Services and Models).

There are also some generic submodules that manage the request validations, HTTP errors and the background tasks manager.