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.
A public instance of CSV2IATI can be found at http://csv2iati.iatistandard.org/
http://csv2iati.iatistandard.org/docs/user_guide.html
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
- Make sure you have given permission to the upload folder to the server user.
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 :)