Go to file
liheng 655db2b071 #57
#56
2018-10-18 15:22:37 +08:00
application #57 2018-10-18 15:22:37 +08:00
data replace '西部数据中心' 2018-05-12 15:42:11 +08:00
htdocs 地图三大园区名称更正 2018-07-26 16:54:23 +08:00
include merge heihedata branch from r4487-4579 into trunk 2014-06-06 01:02:29 +00:00
tools merge heihedata branch from r4487-4579 into trunk 2014-06-06 01:02:29 +00:00
.gitignore update category and series list 2018-02-11 13:02:17 +08:00
package.json add deploy script 2018-04-27 22:04:30 +08:00
readme.md update metadata list in admin 2018-06-21 16:14:47 +08:00
shipitfile.js update map 2018-06-24 15:25:57 +08:00

readme.md

shipit部署工具

  • node v9+

npm install -g shipit-cli

vim ~/.ssh/config

Host sj
        Hostname 210.77.68.221
        Port 29
        User lijianxuan
        ServerAliveInterval 60

拷贝公钥到服务器下,然后运行部署命令即可部署,无需登录服务器

shipit main deploy or npm run d

时空三极网站数据库

创建用户: gis,密码: gispassword

CREATE DATABASE geonetwork
    WITH 
    OWNER = gis
    ENCODING = 'UTF8'
    CONNECTION LIMIT = -1;

CREATE DATABASE metadata
    WITH 
    OWNER = gis
    ENCODING = 'UTF8'
    CONNECTION LIMIT = -1;

然后在两个数据库中分别运行

CREATE EXTENSION dblink;
CREATE EXTENSION hstore;
CREATE EXTENSION pgcrypto;
CREATE EXTENSION "uuid-ossp";
CREATE EXTENSION postgis;
CREATE EXTENSION tablefunc;