WebGIS manager.
Clone or download
lihy
lihy 修改
Latest commit bed00a7 Jan 21, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
database/meta mark. Dec 23, 2018
doc xiugai Sep 30, 2018
extor xiugai Sep 29, 2018
script_helper mark. Dec 23, 2018
static 修改 Jan 21, 2019
team mark. Jun 27, 2018
templates xiugai Jan 14, 2019
torcms_maplet xiugai Nov 15, 2018
.gitignore mark. Dec 23, 2018
LICENSE Initial commit Dec 1, 2015
MANIFEST.in release the version 0.0.1. May 26, 2017
README.rst Update README.rst Jan 19, 2019
README_cn.rst mark. Jun 27, 2018
application.py xiugai Sep 4, 2018
cfg_demo.py Try to merge editor of v1, v2. Apr 22, 2018
config.py xiugai Jan 14, 2019
helper.py Merge branch 'master' of https://github.com/bukun/maplet Sep 14, 2016
helper_extor.py Adding ajax access to GeoJson. Aug 13, 2017
router.py xiugai Dec 20, 2018
script_book01_format_name.py mark. Dec 22, 2018
script_book02_meta_import.py mark. Dec 23, 2018
script_import_maps.py mark. Jun 7, 2018
script_migrate.py mark. May 22, 2017
script_migrate_maplet.py adding migrate script. May 5, 2018
server.py mark. Feb 7, 2017
setup.py Adding team member. Jun 27, 2018
urls.py mark. May 28, 2017

README.rst

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