mirror of
https://github.com/maputnik/editor.git
synced 2026-07-27 08:17:26 +00:00
Add server and bindata packaging
This commit is contained in:
@@ -1,2 +1,26 @@
|
||||
# desktop
|
||||
A Golang based cross platform executable for integrating Maputnik locally
|
||||
|
||||
|
||||
### Build
|
||||
|
||||
First you need a app bundle distribution of Maptunik and copy over `public`
|
||||
to the `gui` folder in this project.
|
||||
|
||||
```
|
||||
npm run dist
|
||||
```
|
||||
|
||||
Package the the `gui` as binary assets.
|
||||
|
||||
```
|
||||
go get github.com/elazarl/go-bindata-assetfs/...
|
||||
go-bindata-assetfs gui/...
|
||||
```
|
||||
|
||||
Install the go package.
|
||||
|
||||
```
|
||||
go install
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user