- Python 2.7
- Node (0.10.x or higher, there are known issues with 0.10.29)
- Java (1.7 or higher)
- gettext (0.18 or higher)
- virtualenv (1.7 or higher)
git clone https://github.com/c2corg/v6_ui.git
cd v6_ui
make -f config/{user} install
make -f config/{user} serve
Open your browser at http://localhost:6543/ or http://localhost:6543/?debug (debug mode). Make sure you are
using the port that is set in config/{user}
.
Available actions may be listed using:
make help
make -f config/{user} test
Or with the check
target, which runs flake8
and test
:
make -f config/{user} check
To run a specific test:
.build/venv/bin/nosetests c2corg_ui/tests/views/test_summit.py
To see the debug output:
.build/venv/bin/nosetests -s
The UI is mainly built using the following components:
- Pyramid (Python framework) http://docs.pylonsproject.org/en/latest/
- AngularJS (Javascript framework) https://angularjs.org/
- Maps:
- OpenLayers 3 http://openlayers.org/
- ngeo https://github.com/camptocamp/ngeo