App to create and edit Fiscal Data Packages for OpenSpending.
JavaScript HTML CSS Other
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
docker
tests
.dockerignore
.env.example
.env.test
.eslintignore
.eslintrc.json
.gitignore
.travis.yml
Dockerfile
LICENSE
Makefile
Procfile
README.md
gulpfile.js
index.js
lookenv.config.js
package-lock.json
package.json
webpack.config.js

README.md

OS Packager

Gitter Issues Docs Docker Build Status

An app to make Fiscal Data Packages from a CSV of Fiscal Data, and publish those packages to OpenSpending.

Quick start

  • 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.