File | Date | Author | Commit |
---|---|---|---|
css | 2015-08-14 | Jesper Baasch-Larsen | [0b4cae] redundant rules |
external | 2015-06-23 | Jesper Baasch-Larsen | [ed198e] switched to fontello + subset of flags |
javascript | 2015-09-10 | Jesper Baasch-Larsen | [0b56f5] added save settings button |
leaflet | 2015-09-10 | Jesper Baasch-Larsen | [0b56f5] added save settings button |
www | 2015-09-10 | Jesper Baasch-Larsen | [0b56f5] added save settings button |
.gitignore | 2015-03-10 | Jesper Baasch-Larsen | [aaf4cc] added dist |
COPYING | 2014-08-26 | Jesper Baasch-Larsen | [6267c5] initial import |
INSTALL | 2014-08-26 | Jesper Baasch-Larsen | [6267c5] initial import |
README.md | 2015-02-26 | Jesper Baasch-Larsen | [532a88] added much more info |
bower.json | 2015-09-10 | Jesper Baasch-Larsen | [0b56f5] added save settings button |
fabfile.py | 2015-09-10 | Jesper Baasch-Larsen | [0b56f5] added save settings button |
index.html | 2015-04-16 | Jesper Baasch-Larsen | [ed02af] mobile friendly |
Provides a web map interface to FCOO METOC forecasts. IFM Maps is
distributed under the GPL v.3 License, see COPYING for the full license.
Installation instructions can be found in the INSTALL file.
Simply deploy the dist directory somewhere on your PHP enabled
web server.
Before beginning to develop IFM Maps you need to install Bower:
Bower will need a recent version of node.js.
To download the web dependencies for IFM Maps you should simply
run:
bower install
We are using Fabric for building a deployment version of IFM Maps
and for the deployment itself:
In the build process we use the following tools which you will also
need to download if you want to build an optimised version of
IFM Maps:
http://yui.github.io/yuicompressor/
https://www.npmjs.com/package/uglify-js
You might have to change a few paths to executables in fabfile.py
when you run it.
To build IFM Maps you simply type:
fab build
You can then copy the dist directory to whereever you want to deploy
it. We have automated this process so that we can type:
fab -R staging deploy
or:
fab -R production deploy
For our deployment. You are of course welcome to use the fabfile.py
for inspiration for automating your deployment but you will need
to dig into the details of the deploy method of the script.