gislite / maplet

WebGIS manager.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Maplet

Source codes for http://www.maphub.cn

Introduction

The CMS was desinged as the container for GIS showing as the very beginning. It has the basic map showing, map overlaying, GIS data editing funtion now. And, the CMS could used to publish different kind the information, such as basic HTML page, JavaScript app, maps, multimedias.

Building the environment

python3 -m venv ~/vpy_maplet
source ~/vpy_maplet/bin/activate
pip3 install -r doc/requirements.txt
git clone https://github.com/bukun/torcms_f2elib.git static/f2elib
git clone https://github.com/bukun/torcms_modules_bootstrap.git templates/modules

Setup

Database

\set dbname maplet
CREATE USER :dbname WITH PASSWORD '131322' ;
CREATE DATABASE :dbname OWNER :dbname ;
GRANT ALL PRIVILEGES ON DATABASE :dbname to :dbname ;
\c :dbname ;
create extension hstore;
\q

Backup the database: postgres user

pg_dump -h localhost -U maplet maplet   > pg_maplet-`date +%F`.sql

Import the database backup file: postgres user

psql -d maplet -U maplet -f pg_maplet-xx.sql

About

WebGIS manager.

License:MIT License


Languages

Language:JavaScript 70.0%Language:HTML 17.8%Language:CSS 6.7%Language:Python 3.8%Language:Sass 1.6%Language:Ruby 0.0%Language:SCSS 0.0%Language:Makefile 0.0%Language:Shell 0.0%