openspending / os-admin

OpenSpending user administration page

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

os-admin

Build Status Gitter Issues

Provides a web interface for users to administer packages hosted on Openspending; links to edit, delete, open in os-viewer.

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:

# 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 <base href='/admin/'> element in index.html to /.

About

OpenSpending user administration page

License:MIT License


Languages

Language:JavaScript 71.8%Language:HTML 25.2%Language:CSS 1.7%Language:Makefile 1.0%Language:Dockerfile 0.3%Language:Shell 0.1%