Giter Club home page Giter Club logo

opensearchgeo's Introduction

INPE's OpenSearch

INPE's OpenSearch is a REST web service made in Flask for search and discovery of EO products produced by INPE.

Setup Enviroment

Cloning and installing dependencies on Ubuntu 16.04

The system dependencies are: python3-pip python3-dev virtualenv libmysqlclient-dev

The pip requirements are: flask, mysqlclient, sqlalchemy and gunicorn (optional, used only for deployment)

The following commands will clone and install all the dependencies:

git clone http://github.com/mzaglia/opensearchgeo
cd opensearchgeo
./venv.sh
source venv/bin/activate

Running the app

To run the app, make sure you have the following enviroment variables configured:

PYTHONUNBUFFERED=1
DB_PASS=<db_password>
DB_USER=<db_user>
DB_NAME=<db_name>
DB_HOST=<db_host>
BASE_URL=<base_service_url>
ENCLOSURE_BASE=<base_location_for_the_scenes_products>

Deploy

For deployment you can follow: How To Serve Flask Applications with Gunicorn and Nginx on Ubuntu 16.04

opensearchgeo's People

Contributors

mzaglia avatar carolgsantos avatar

Watchers

James Cloos avatar  avatar

Forkers

carolgsantos

opensearchgeo's Issues

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.