https://github.com/openspending/os-admin
OpenSpending user administration page
https://github.com/openspending/os-admin
Last synced: 6 months ago
JSON representation
OpenSpending user administration page
- Host: GitHub
- URL: https://github.com/openspending/os-admin
- Owner: openspending
- License: mit
- Created: 2016-07-12T07:04:05.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-03-06T09:22:48.000Z (over 7 years ago)
- Last Synced: 2025-10-16T08:17:22.679Z (8 months ago)
- Language: JavaScript
- Size: 304 KB
- Stars: 1
- Watchers: 8
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# os-admin
[](https://travis-ci.org/openspending/os-admin)
[](https://gitter.im/openspending/chat)
[](https://github.com/openspending/openspending/issues)
Provides a web interface for users to administer packages hosted on Openspending; links to edit, delete, open in [os-viewer](https://github.com/openspending/os-viewer).
- [AngularJS](https://angularjs.org/)
- [ExpressJS](https://expressjs.com/)
## Quick start
- get the code
`git clone https://github.com/openspending/os-admin.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:
```ini
# Required settings
# e.g. https://openspending.org or http://localhost
OS_BASE_URL=
# Optional settings
# Google Analytics code
OS_SNIPPETS_GA=
# Sentry public DSN url
OS_SNIPPETS_RAVEN=
# Each service will use OS_BASE_URL unless overridden by these:
OS_CONDUCTOR_URL=
OS_VIEWER_URL=
OS_EXPLORER_URL=
OS_PACKAGER_URL=
```
- run the tests
`npm test`
- run the application...
`npm start`
When working locally you'll need to change the `` element in index.html to `/`.