App to make Fiscal Data Packages from a CSV of Fiscal Data.
Fiscal Data Packager is a Node.js app, based on Express v4 framework.
Get a local server setup with the following steps:
- Ensure you are running the supported version of Node.js, which is declared in the
package.json
. - Create a local directory called
fiscal-data-packager
and move into it withcd fiscal-data-packager
. - Clone the code with
git clone https://github.com/openspending/fiscal-data-packager.git .
. - Install the dependencies with
npm install
. - Create a
settings.json
file with these contents, changing any values as required:
{
"app": {
"port": 5000
}
}
Now we should be ready to run the server:
- Run the app with
npm start
- Visit the site:
http://localhost:5000/
npm test
- run tests.npm run review
- run jscs over the code.npm run develop
- build sources and then start server.