Skip to content

Latest commit

 

History

History
executable file
·
42 lines (32 loc) · 838 Bytes

README.md

File metadata and controls

executable file
·
42 lines (32 loc) · 838 Bytes

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/