https://github.com/devgateway/iatiimport
Tool for importing IATI data
https://github.com/devgateway/iatiimport
Last synced: 6 months ago
JSON representation
Tool for importing IATI data
- Host: GitHub
- URL: https://github.com/devgateway/iatiimport
- Owner: devgateway
- Created: 2015-02-24T23:11:22.000Z (almost 11 years ago)
- Default Branch: develop
- Last Pushed: 2023-03-01T04:26:40.000Z (almost 3 years ago)
- Last Synced: 2025-07-23T13:00:05.830Z (7 months ago)
- Language: JavaScript
- Size: 5.56 MB
- Stars: 8
- Watchers: 15
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# IATI Import Tool
This tool allows users to import data in IATI format into a target system. The target system must support the endpoints described in the '**Destination System REST Endpoint Requirements**' section in the wiki home page (https://github.com/devgateway/iatiimport/wiki).
# Requirements
- Java 8 or later
- Apache Maven 3.2.2
- Node 4.7.0 (doesn't work with newest versions of node / maven will download and install correct version of node automatically)
- libpng-dev on Unix or libpng on MacOS version 1.2 (won't work with newer versions, required by imagemin-pngquant module)
# Configuration
After pulling the source code from github, you need to make some changes to import-core/import-ui/src/main/webapp/client/scripts/conf/index.js.
- DESTINATION_API_HOST - domain name or IP address of server that hosts the destination system
- DESTINATION_AUTH_TOKEN_ENDPOINT - use this for configuring the url on the destination system that provides the authentication token.
- USE_AUTHENTICATION_TOKEN - used to enable or disable authentication
- AMP_DESKTOP_ENDPOINT - optional. The url that the tool redirects to when the close button is clicked.
# Packaging the Tool
## Use maven to build
```
cd import-core/
mvn clean package
```
## Run Jar File
```
cd /import-core\import-ui\target
java -jar import-ui-0.0.6-SNAPSHOT.jar &
```
Then go to the initial page of the app: http://localhost:8080/importer/.
## Build the UI
This section is required for development only.
```
cd import-core/import-ui/src/main/webapp
npm install --dev
##notice that you might need to run. Do it if you get grunt or bower commands not found
npm install grunt -g
npm install bower -g
bower install
grunt build
```
# Copyright
Copyright 2015-2016 Development Gateway
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.