Skip to content

01 Getting Started

Iltempe edited this page Aug 27, 2017 · 7 revisions

To reuse this code please consider that this repo has a branch for development (called development) and a branch for deploy of the built demo-website on Github-Pages (the master branch). If you want access to source code you have to switch on development branch.

GITHUB PAGES

To see your version of JMAP in action in a very fast way this are the steps to follow:

  • Fork the base repo in your repo. To fork a report this is the basic procedure

  • Set your repo as a repo for Github Pages as described here. Select the master view and your JMAP version will be published to http://your_user.github.io/your_repo link

  • Now you are able to load o modify all the JMAP version in order to add maps directly from Github Web Interface! Github Pages will be rebuilt your site and generate the maps in an automatic way!

  • Changes tags in _config.yml to create your website customizations.

WITH YOUR HOST

If you prefer, you can also work locally and build the website by yourself or host the website in your server. In this case:

Using command line shell prompt digit

gem install bundler

Fork and clone locally the repo:

git clone https://github.com/username/jmap.git

then

cd jmap

Install all dependencies of the project

bundle install

Start the site

bundle exec jekyll serve

Jekyll generates and starts the website and shows the hyperlink.

Changes tags in _config.yml to create your website customizations.

Clone this wiki locally