Metadata-Version: 2.1
Name: Hunabku
Version: 0.0.8a0
Summary: Papers database endpoint API
Home-page: https://github.com/colav/Hunabku
Author: Colav
Author-email: colav@udea.edu.co
License: BSD
Description-Content-Type: text/markdown
License-File: LICENSE

<center><img src="https://raw.githubusercontent.com/colav/colav.github.io/master/img/Logo.png"/></center>

# HunabKu  
Data Server Gateway/  Maya - father of all gods

# Description
Package to load data in MongoDB and to serve the data from mongodb on endpoints using flask. 
The package is handling the endpoints  using a customized plugin system designed by us.


# Installation

## Dependencies
* Install nodejs >=10.x.x ex: 10.13.0
    * Debian based system: `apt-get install nodejs`
    * Redhat based system: `yum install nodejs`
    * Conda: `conda install nodejs==10.13.0`
* Install Apidocjs `npm install -g apidoc@0.29.0` as root!
* The other dependecies can be installed with pip installing this package.
* Install MongoDB
    * Debian based system: `apt-get install mongodb`
    * Redhat based system instructions [here](https://docs.mongodb.com/manual/tutorial/install-mongodb-on-red-hat/)
    * Conda: `conda install mongodb mongo-tools`

NOTE:

To start mongodb server on conda please run the next steps

`
mkdir -p $HOME/data/db 
`

`
mongodb mongod --dbpath $HOME/data/db/
`

## Package
`pip install hunabku`

# Usage
Let's start the server executing
```.sh
hunabku_server
```
Or using some command line options
```.sh
hunabku_server --port 8080 --db_ip x.x.x.x
```

where x.x.x.x is your mongodb ip

you can access to the apidoc documentation for the endpoints for example on: http://127.0.1.1:8888/apidoc/index.html

if depends of the ip and port that you are providing to hunabku.


# License
BSD-3-Clause License 

# Links
http://colav.udea.edu.co/



