An app to make Fiscal Data Packages from a CSV of Fiscal Data, and publish those packages to OpenSpending.
get the code
git clone https://github.com/openspending/os-packager.git
install dependencies
npm install
build the frontend assets
npm run build
configure .env
For local development, add an .env file with the following settings:
# Required settings
# e.g. https://openspending.org or http://localhost
OS_BASE_URL=
# Optional settings
OS_SNIPPETS_GA=
OS_SNIPPETS_RAVEN=
SENTRY_DSN=
OS_PACKAGER_BASE_PATH=
POLL_INTERVAL=
# Each service will use OS_BASE_URL unless overridden by these:
OS_CONDUCTOR_URL=
OS_VIEWER_URL=
OS_ADMIN_URL=
FDP_ADAPTER_URL=
# Defaults to 'https://cosmopolitan.openspending.org/?format=json'
OS_COSMOPOLITAN_URL=
run the tests
npm test
run the server
npm start
load the app in your default browser
open http://127.0.0.1:5000
See the docs for more information.
Content type
Image
Digest
Size
88.7 MB
Last updated
over 7 years ago
docker pull openspending/os-packager