Skip to content
This repository was archived by the owner on Jul 14, 2021. It is now read-only.
/ op_api3 Public archive

Generic Openpolis API, v.3, using django-rest-framework

Notifications You must be signed in to change notification settings

openpolis/op_api3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

223 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Openpolis generic API, version 3, using django-rest-framework.

Complete re-design of the openpolitici database, splitted into pops and places sub-applications.

Import scripts to get data from the old openpolis database implemented.

To install in a development environment and start developing, without dumping

the legacy databases:

ssh -L 3307:localhost:3306 -Nv [email protected]

You need to have secure access to the api3.openpolis.it server.

Then these values can be set in the .env file:

DB_DEFAULT_URL=postgis://postgres:@localhost/op_api3
DB_POLITICI_URL=mysql://root:@127.0.0.1:3307/op_openpolis
DB_PARLAMENTO16_URL=mysql://root:@127.0.0.1:3307/op_openparlamento
DB_PARLAMENTO17_URL=mysql://root:@127.0.0.1:3307/opp17
DB_PARLAMENTO18_URL=mysql://root:@127.0.0.1:3307/opp18

About

Generic Openpolis API, v.3, using django-rest-framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •