We plan to use Transifex in the future, stay tuned.
$ git clone [email protected]:MapContrib/MapContrib.git
$ sudo npm install -g grunt grunt-cli bower
$ npm install
$ bower install
$ grunt
We use Git Flow to manage our branches. It means that the master branch is always clean and pointing to the latest public release.
We use MongoDB, go to the db
directory and execute import_database.sh
. It will create a database called mapcontrib.
A Grunt task watch the files modifications and generate CSS from Less, JST templates from HTML, etc.
You just need to launch:
$ grunt watch
The server have to be launched with the command:
$ node src/server.js
It serves static files and provide the REST API.
When your done, you can build a minified version of all the Javascript files and clean up a bit the folders by launching:
$ grunt build
A new directory called dist will contain your shiny new MapContrib.
MapContrib is what it is because of some crazy people and free and open source projects. Let's name a few:
- Vincent Bergeot: Just the MapContrib's daddy...
- Frédéric Rodrigo: The force he has (Osmose)
- Yohan Boniface (uMap, Leaflet-Storage)
- Nohémie Lehuby (OpenBeerMap)
- OpenStreetMap (OSM)
- Leaflet (Website)