Skip to content

magufomap/magufomap-back

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

magufomap-back

Backend para MagufoMap

Arch Linux based distribution

$ sudo pacman -S binutils proj gdal geos poppler cfitsio icu
$ sudo systemctl start docker
$ sudo docker build -t magufomap-db:1.0 -f Dockerfile_db .
$ sudo docker run -d --name magufomap_db -p 5432:5432 -e POSTGRES_DB=magufomap -v /path/to/magufomap-back/data:/var/lib/postgresql/data magufomap-db:1.0
$ psql -h localhost -U postgres -d magufomap
> createdb magufomap

Debian Linux based distribution

$ sudo pacman -S binutils libproj-dev gdal-bin geos
$ sudo systemctl start docker
$ sudo docker build -t magufomap-db:1.0 -f Dockerfile_db .
$ sudo docker run -d --name magufomap_db -p 5432:5432 -e POSTGRES_DB=magufomap -v /path/to/magufomap-back/data:/var/lib/postgresql/data magufomap-db:1.0
$ psql -h localhost -U postgres -d magufomap
> createdb magufomap

Filters

  • severity_in=1,2,3,4
  • tags__name__in=tag1,tag2,etc
  • status__in=PUB,PEN
  • in_bbox=-3.8638,40.2554,-3.5122,40.5816 # (min Lon, min Lat, max Lon, max Lat)

Releases

No releases published

Packages

No packages published