Giter Site home page Giter Site logo

data's Introduction

Data: Data from the Infodengue project

Ubuntu Operating System

Install PostgreSQL 10 and PostGIS:

apt install postgresql-10-postgis-2.4

Configuring PostgreSQL

Edit the file "pg_hba.conf”:

nano /etc/postgresql/10/main/pg_hba.conf

Insert the line at the end of the file:

host all all 0.0.0.0/0 md5

Edit the file “postgresql.conf”:

nano /etc/postgresql/10/main/postgresql.conf

in the "connections and authentication" section: Connection Settings. Remove "#" and replace "localhost" with "*" in line "#listen_address" localhost ":

listen_address “*

Restart the Postgres server:

/etc/init.d/postgresql restart

Download the database

Install: "git" and "git lfs":

apt install git git-lfs
git lfs install

Download the files:

git-lfs clone https://github.com/AlertaDengue/Data.git

Restore database

With the user postgres.

su postgres

Go to the location where you transferred the files and launch the "restore.sh" file to restore the database:

cd Data
./restore.sh

Configure the database

Access the "psql" and activate the users password change: "forecast" and "dengueadmin" for "dengueadmin":

psql
    \password forecast
    \password dengueadmin

Exit "psql":

\q

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.