mirror of
https://github.com/maputnik/editor.git
synced 2026-06-25 16:47:25 +00:00
Add Makefile
This commit is contained in:
@@ -1,26 +1,21 @@
|
||||
# desktop
|
||||
A Golang based cross platform executable for integrating Maputnik locally
|
||||
# Maputnik 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.
|
||||
Clone the repository recursively since the Maputnik editor is embedded
|
||||
as submodule.
|
||||
|
||||
```
|
||||
npm run dist
|
||||
git clone --recursive git@github.com:maputnik/desktop.git
|
||||
```
|
||||
|
||||
Package the the `gui` as binary assets.
|
||||
Run `make` to build the app distribution bundle and create the `maputnik` binary
|
||||
embedding the editor.
|
||||
|
||||
```
|
||||
go get github.com/elazarl/go-bindata-assetfs/...
|
||||
go-bindata-assetfs gui/...
|
||||
```
|
||||
|
||||
Install the go package.
|
||||
|
||||
```
|
||||
go install
|
||||
make
|
||||
```
|
||||
|
||||
You should now find the `maputnik` binary in your directory.
|
||||
|
||||
Reference in New Issue
Block a user