A tool to convert CSVs to IATI XML
CoffeeScript HTML Python CSS JavaScript Shell
Clone or download
Pull request Compare This branch is 316 commits ahead of nickstenning:master.
Latest commit 9e260b6 May 23, 2018

README.mkd

CSV2IATI Model Editor

This repository shows the CSV2IATI Model Editor, which will help you to create a model to map your spreadsheet of aid data to the IATI format.

Use CSV2IATI

A public instance of CSV2IATI can be found at http://csv2iati.iatistandard.org/

User Guide

http://csv2iati.iatistandard.org/docs/user_guide.html

Installation

Clone the repository

$ git clone https://github.com/IATI/CSV2IATI.git

Change into the directory and create a virtual environment (virtualenv)

$ cd CSV2IATI
$ virtualenv --no-site-packages ./pyenv

Now activate the environment:

$ source ./pyenv/bin/activate

Install dependencies:

$ pip install -r requirements.txt

Copy the configuration template:

$ cp csviatimodeleditor/icconfig.ini.tmpl csviatimodeleditor/icconfig.ini

Edit the configuration file and make sure that you have set a valid database URL. In production mode, remember to set the absolute path to the database.

Then run the application. In a local instance you can just do:

$ python csviatimodeleditor/__init__.py

Troubleshooting:

  • Make sure you have given permission to the upload folder to the server user.

License

The CSV2IATI model editor code and docs are released under the MIT license, a copy of which can be found in LICENSE.

Forked from http://github.com/nickstenning/openspending.modeleditor with thanks :)