blong14 / map_plat

Home Page:https://mapplat.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

map_plat

Tech

Project setup

Database Setup

docker-compose up -d

Once running, connect via pgAdmin

username: docker
password: docker
port: 54321

Create a locations table in the gis database with latitude, longitude, and count columns

Import the initial dataset

copy locations from '/data/out.csv' DELIMITERS ',' CSV;

Certs

generate self signed certs and place in the root of the application

Testing

Currently, all server side tests rely on a local database running. This requirement should be updated in the future.

docker-compose up -d
go test ./...

Run the server

go get
go run main.go

Compiles and hot-reloads for development (from app directory)

yarn run serve

Compiles and minifies for production

yarn run build

Lints and fixes files

yarn run lint

About

https://mapplat.net


Languages

Language:JavaScript 66.4%Language:Vue 16.3%Language:Go 11.5%Language:HTML 1.7%Language:Makefile 1.4%Language:Dockerfile 1.3%Language:Shell 1.0%Language:Python 0.4%