Skip to content

Commit d0a622b

Browse files
Cory SytsmaCory Sytsma
Cory Sytsma
authored and
Cory Sytsma
committed
Merge branch 'master' of https://github.com/florianf/tileoven into florianf-master
# Conflicts: # README.md # commands/export.bones # package.json # platforms/osx/Makefile # platforms/osx/TileMill.xcodeproj/project.pbxproj # platforms/osx/TileMillAppDelegate.h # platforms/osx/TileMillAppDelegate.m # platforms/osx/tilemill-Info.plist
1 parent 2921c67 commit d0a622b

File tree

158 files changed

+9218
-24051
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

158 files changed

+9218
-24051
lines changed

README.md

+136-20
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,156 @@
1-
Maintenance status:
1+
# General Info
22

3-
TileMill has shifted to an [open open source](http://openopensource.org/) contributor model and moved to its own organization, `tilemill-project`.
3+
TileOven is a maintained fork of TileMill, tested on Linux with Node 8.11.3 LTS
4+
TileOven works only in server mode, no native packages are provided.
5+
Platforms other than Linux should theoretically work, but aren't tested.
46

5-
## Alternatives to TileMill
7+
Changes from upstream are cherry-picked, last time on Apr 22, 2016.
68

7-
**Mapbox**
89

9-
* [Mapbox Studio](https://www.mapbox.com/mapbox-studio/): the official, supported successor to TileMill
10+
# Changelog since forking
1011

11-
**Community**
12+
## Features
1213

13-
* [Kosmtik](https://github.com/kosmtik/kosmtik): alternative to TileMill
14-
* [TileOven](https://github.com/florianf/tileoven): fork of TileMill with Node 4 support
14+
- Forked millstone, tilelive, node-srs dependencies, Node 8 now supported
15+
- Support for Node 8, thanks to patches and updated dependencies of @paulovieira
16+
- Added layer selection to map panel for fast comparisons with OSM and to save render time for low zoom levels
17+
- Added search field to layer panel
18+
- Added search field to styles panel
19+
- Added cloning of layers to layer panel
20+
- Layer actions only shown on hover, ideal for long layer names and reduces visual noise
21+
- Increased size of layer panel
22+
- Updated carto and node-mapnik dependencies, new CartoCSS commands available
23+
- Remember last selected folder in new layer dialog
24+
- Better compatibility with kosmtik, TileOven mml project files should work out of the box with kosmtik (https://github.com/kosmtik)
1525

16-
## Installation
26+
## Bugfixes
1727

18-
To install from source just do:
28+
- Removed topcube and other obsolete dependencies
29+
- Removed windowed mode, only server mode is supported
30+
- Fixed Tab indentation in editor window
31+
- Fixed "Close" button bugs in Google Chrome (https://github.com/mapbox/tilemill/issues/2534)
32+
- Fixed mbtiles preview map
33+
- Removed Mapbox integration
34+
- Fixed CartoCSS variable auto completion
35+
- Fixed creation of job file in export if it doesn't exist
36+
- Fixed multiple output of CartoCSS errors to update to latest version
1937

20-
git clone https://github.com/tilemill-project/tilemill.git
21-
cd tilemill
22-
npm install
38+
# Readme
2339

24-
Then to start TileMill do:
40+
TileOven is a modern map design studio powered by [Node.js](http://nodejs.org) and [Mapnik](http://mapnik.org).
41+
42+
Installation instructions, development docs and other information are available in the [Wiki](https://github.com/florianf/tileoven/wiki/Installation-Guide).
43+
44+
# Build Status
45+
46+
[![Build status](https://travis-ci.org/florianf/tileoven.svg)](https://travis-ci.org/florianf/tileoven)
47+
[![Dependencies](https://david-dm.org/florianf/tileoven.svg)](https://david-dm.org/florianf/tileoven)
48+
49+
### Key modules
50+
51+
- mapnik - [![Build Status](https://secure.travis-ci.org/mapnik/mapnik.png?branch=2.3.x)](https://travis-ci.org/mapnik/mapnik)
52+
- node-mapnik - [![Build Status](https://secure.travis-ci.org/mapnik/node-mapnik.png)](https://travis-ci.org/mapnik/node-mapnik)
53+
- carto - [![Build Status](https://secure.travis-ci.org/mapbox/carto.png)](http://travis-ci.org/mapbox/carto)
54+
- tilelive - [![Build Status](https://secure.travis-ci.org/mapbox/tilelive.png)](https://travis-ci.org/mapbox/tilelive)
55+
- tilelive-mapnik - [![Build Status](https://secure.travis-ci.org/mapbox/tilelive-mapnik.png)](https://travis-ci.org/mapbox/tilelive-mapnik)
56+
- millstone - [![Build Status](https://secure.travis-ci.org/mapbox/millstone.png)](http://travis-ci.org/mapbox/millstone)
57+
- node-mbtiles - [![Build Status](https://secure.travis-ci.org/mapbox/node-mbtiles.png)](http://travis-ci.org/mapbox/node-mbtiles)
58+
- node-sqlite3 - [![Build Status](https://secure.travis-ci.org/mapbox/node-sqlite3.png)](http://travis-ci.org/mapbox/node-sqlite3)
59+
60+
# Depends
61+
62+
- Mapnik v2.3.0
63+
- Node.js v6.x, v4.x, v0.10.x or v0.8.x
64+
- Protobuf: libprotobuf-lite and protoc
65+
66+
However, node-mapnik (which depends on Mapnik and protobuf) is now packaged as a binary. So, you do not need an external Mapnik. See [Installation](#installation)
2567

26-
As a Desktop application:
68+
# Installation
2769

28-
./index.js
70+
Note: on Ubuntu make sure that you have the nodejs-legacy package installed!
2971

30-
To run the **web version** pass `server=true`:
31-
32-
./index.js --server=true
72+
To install from source just do:
73+
74+
git clone https://github.com/florianf/tileoven.git
75+
cd tileoven
76+
npm install
3377

34-
and then go to `localhost:20009` in your web browser
78+
Then to start TileMill do:
3579

80+
./index.js # and then view http://localhost:20009 in your web browser
3681

3782
For more extended details follow:
3883

3984
- [Install packages](http://mapbox.com/tilemill/docs/install/)
4085
- [Build from source](http://mapbox.com/tilemill/docs/source/)
86+
87+
# Running tests
88+
89+
Install mocha and run the tests
90+
91+
npm install mocha
92+
npm test
93+
94+
95+
Note: the tests require a running postgres server and a postgis enabled
96+
database called `template_postgis`.
97+
98+
If you do not have a `template_postgis` create one like:
99+
100+
createdb -E UTF8 template_postgis
101+
psql -c "CREATE EXTENSION postgis" template_postgis
102+
103+
If you experience failing tests here are two tips:
104+
105+
1. Debug the project data by running TileMill with
106+
107+
./index.js --files=./test/fixtures/files/
108+
109+
2. Try clearing the cache of test data:
110+
111+
rm -rf ./test/fixtures/files/
112+
113+
For more info see: http://postgis.net/docs/manual-1.5/ch02.html
114+
115+
116+
# Documentation
117+
118+
TileMill documentation is kept in the mb-pages branch, which is independently managed and not merged with master.
119+
120+
TileMill's in-app reference available as the "Manual" (see below for syncing details) is a very small subset of docs for offline usage and is manually
121+
sync'ed from the mb-pages branch.
122+
123+
To view all the TileMill documentation locally, first checkout the mb-pages branch:
124+
125+
git checkout mb-pages
126+
127+
Then install Jekyll:
128+
129+
sudo gem install jekyll
130+
131+
And run Jekyll:
132+
133+
jekyll
134+
135+
Once Jekyll has started you should be able to view the docs in a browser at:
136+
137+
http://localhost:4000/tilemill/
138+
139+
140+
# Syncing manual
141+
142+
To sync the manual with mb-pages updates do:
143+
144+
export TILEMILL_SOURCES=`pwd`
145+
cd ../
146+
git clone --depth=1 -b mb-pages https://github.com/mapbox/tilemill tilemill-mb-pages
147+
cd ${TILEMILL_SOURCES}
148+
export TILEMILL_GHPAGES=../tilemill-mb-pages
149+
rm -rf ${TILEMILL_SOURCES}/assets/manual
150+
mkdir -p ${TILEMILL_SOURCES}/assets/manual
151+
cp -r ${TILEMILL_GHPAGES}/assets/manual/* ${TILEMILL_SOURCES}/assets/manual/
152+
git add ${TILEMILL_SOURCES}/assets/manual/*
153+
rm -rf ${TILEMILL_SOURCES}/_posts/docs/reference
154+
mkdir -p ${TILEMILL_SOURCES}/_posts/docs/reference
155+
cp -r ${TILEMILL_GHPAGES}/_posts/docs/reference/* ${TILEMILL_SOURCES}/_posts/docs/reference/
156+
git add ${TILEMILL_SOURCES}/_posts/docs/reference/*

assets/css/code.css

+16-7
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,22 @@ div.CodeMirror {
1515
div.CodeMirror-lines,
1616
div.CodeMirror-gutter-text { padding:5px; }
1717

18-
div.CodeMirror-gutter-text pre.error {
19-
background:#fe8;
20-
color:#222;
21-
padding:0px 5px;
22-
margin:0px -5px;
23-
cursor:pointer;
24-
}
18+
div.CodeMirror .errors, div.CodeMirror .search {
19+
width: 12px;
20+
}
21+
22+
div.CodeMirror .error-marker {
23+
background-color: #822;
24+
width: 8px;
25+
height: 16px;
26+
cursor: pointer;
27+
}
28+
29+
div.CodeMirror .search-marker {
30+
background-color: #009928;
31+
width: 8px;
32+
height: 16px;
33+
}
2534

2635
span.cm-carto-variable { color:#708; }
2736
span.cm-carto-color-variable { color:#B60049; }

0 commit comments

Comments
 (0)