mirror of
https://github.com/lukasmartinelli/postgis-editor.git
synced 2025-12-08 20:15:55 +00:00
Prepare electron packaging
This commit is contained in:
parent
7ddb2033fa
commit
25e69ce62b
12
README.md
12
README.md
@ -1,10 +1,10 @@
|
|||||||
# PostGIS Query Editor
|
# PostGIS Query Editor
|
||||||
|
|
||||||
A very accessible PostGIS query editor and visualizer.
|
A very accessible **PostGIS query editor** and visualizer.
|
||||||
Getting started with PostGIS is harder than it should be. We spent much time in **psql** and wished to visualize
|
Getting started with [PostGIS](http://postgis.net/) is harder than it should be. We spent much time in **psql** and wished to visualize
|
||||||
our queries quickly without big complicated tools.
|
our queries quickly without big complicated tools.
|
||||||
|
|
||||||
Features
|
**Features:**
|
||||||
- Just type your query - we try to figure out the geometry/projection
|
- Just type your query - we try to figure out the geometry/projection
|
||||||
- Beautiful MapboxGL based visualization
|
- Beautiful MapboxGL based visualization
|
||||||
- Click on any feature for full information
|
- Click on any feature for full information
|
||||||
@ -28,3 +28,9 @@ Run Electron app.
|
|||||||
```bash
|
```bash
|
||||||
npm start
|
npm start
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Create releases.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npm run package
|
||||||
|
```
|
||||||
|
|||||||
3
main.js
3
main.js
@ -27,9 +27,6 @@ app.on('ready', function() {
|
|||||||
// and load the index.html of the app.
|
// and load the index.html of the app.
|
||||||
mainWindow.loadUrl('file://' + __dirname + '/index.html');
|
mainWindow.loadUrl('file://' + __dirname + '/index.html');
|
||||||
|
|
||||||
// Open the DevTools.
|
|
||||||
mainWindow.webContents.openDevTools();
|
|
||||||
|
|
||||||
// Emitted when the window is closed.
|
// Emitted when the window is closed.
|
||||||
mainWindow.on('closed', function() {
|
mainWindow.on('closed', function() {
|
||||||
// Dereference the window object, usually you would store windows
|
// Dereference the window object, usually you would store windows
|
||||||
|
|||||||
@ -9,7 +9,8 @@
|
|||||||
"watch-es6": "babel src -d dist --source-maps inline --watch",
|
"watch-es6": "babel src -d dist --source-maps inline --watch",
|
||||||
"build-es6": "babel src -d dist --source-maps inline",
|
"build-es6": "babel src -d dist --source-maps inline",
|
||||||
"watch-sass": "nodemon -e scss -x \"npm run build-sass\"",
|
"watch-sass": "nodemon -e scss -x \"npm run build-sass\"",
|
||||||
"build-sass": "node-sass --include-path scss resources/scss/main.scss resources/css/main.css"
|
"build-sass": "node-sass --include-path scss resources/scss/main.scss resources/css/main.css",
|
||||||
|
"package": "electron-packager ./ postgis-editor --out=./releases --platform=all --arch=x64 --icon=./postgis-editor.icns --overwrite "
|
||||||
},
|
},
|
||||||
"babel": {
|
"babel": {
|
||||||
"presets": [
|
"presets": [
|
||||||
@ -21,6 +22,7 @@
|
|||||||
"babel-cli": "^6.7.5",
|
"babel-cli": "^6.7.5",
|
||||||
"babel-preset-es2015": "^6.6.0",
|
"babel-preset-es2015": "^6.6.0",
|
||||||
"babel-preset-react": "^6.5.0",
|
"babel-preset-react": "^6.5.0",
|
||||||
|
"electron-packager": "^6.0.2",
|
||||||
"electron-prebuilt": "^0.34.3",
|
"electron-prebuilt": "^0.34.3",
|
||||||
"electron-rebuild": "^1.0.2",
|
"electron-rebuild": "^1.0.2",
|
||||||
"node-sass": "^3.4.2"
|
"node-sass": "^3.4.2"
|
||||||
|
|||||||
BIN
postgis-editor.icns
Normal file
BIN
postgis-editor.icns
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user