Skip to content

Offline Postgres/postGIS that runs on a USB stick with zero installation. Currently only tested on Windows.

Notifications You must be signed in to change notification settings

locana-co/PMT-Portable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PMT-Portable

First attempt at a portable portfolio mapping database on a stick. The idea is to run in conjunction with an offline node/webkit server to act as a desktop applicaiton.

Basic Steps to Reproduce:

  1. A portable version of PostgreSQL v9.3 with PostGIS v2.1 enabled: SourceForge has Windows portable installs
    1. https://axiomq.com/blog/backup-and-restore-a-postgresql-database/ PS D:\PostgreSQL\bin> .\pg_dump -U postgres -W -F t pmt10 > d:\pmt_dump.tar. PS E:\App\PgSQL\bin> .\pg_restore -U postgresql -d pmt10 > d:\pmt_dump.tar
  2. A portable web server:  http://www.usbwebserver.net/webserver/
  3. Run NodeJS/ExpressJS on a USB: 
    1. https://github.com/crazy-max/nodejs-portable
    2. <node ./api.js usb>
  4. Send any data element from a Postgres database, through a NodeJS/ExpressJS API to a simple HTML page being served from the portable web server.

Notes:

Solution to target located in server/root

node configured to run directly to an api build in server/root. Opens in shell on launch.

About

Offline Postgres/postGIS that runs on a USB stick with zero installation. Currently only tested on Windows.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published