Skip to content

Novatics/nasaDataAPI

Repository files navigation

Extraction Microservice

Satellite Data Extraction and Distribution, and coordinates calculation

Getting started

To start, you will need docker and docker-compose

Running

Clone the Github repo

$ git clone https://github.com/Novatics/nasaDataAPI

Access the main project folder

$ cd nasaData

Create .env file

$ touch .env

Copy and paste the lines below in .env

POSTGRES_USER=extractapi
POSTGRES_PASSWORD=extractapi123
POSTGRES_DB=extractapi
POSTGRES_HOST=db-extract
PORT=8000

Run the app

$ (sudo) docker-compose run web-extract python manage.py makemigrations core
$ (sudo) docker-compose run web-extract python manage.py migrate core
$ (sudo) docker-compose up

And you are good to go! o/