Skip to content

tlyau62/vuemap

Repository files navigation

vuemap

An electron-vue project

Build Setup

for application

# install dependencies
npm install

# serve with hot reload at localhost:9080
npm run dev

# build electron application for production
npm run build

for database setup

  • database username: postgres, password: admin
  • make sure a table mapdb is created under database postgres
-- Table: public.mapdb

-- DROP TABLE public.mapdb;

CREATE TABLE public.mapdb
(
    id bigint NOT NULL DEFAULT nextval('mapdb_id_seq'::regclass),
    name character varying COLLATE pg_catalog."default",
    locat_geom geometry(Geometry,4326),
    CONSTRAINT mapdb_pkey PRIMARY KEY (id)
)
WITH (
    OIDS = FALSE
)
TABLESPACE pg_default;

ALTER TABLE public.mapdb
    OWNER to postgres;

Deploy

  • software needs
    • postgis + postgres
    • tillmill
  • steps
    1. clone this resp
    2. open tillmill
    3. npm run dev

This project was generated with electron-vue@7c4e3e9 using vue-cli. Documentation about the original structure can be found here.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published