cas-server-db-schemadeprecated

Used to create/maintain a database for cas-server registry plugins

Usage no npm install needed!

<script type="module">
  import casServerDbSchema from 'https://cdn.skypack.dev/cas-server-db-schema';
</script>

README

cas-server-db-schema

This repository is for creating and maintaining a PostgreSQL database to back the cas-server-pg-ticket-registry and cas-server-pg-service-registry plugins.

Install

$ psql -U postgres
>> create role casserver login;
>> create database casserver owner casserver;
>> \q
$ export PATH="./node_modules/.bin/:${PATH}"
$ npm install --no-optional
$ knex init # generate knexfile.js
$ # adjust knexfile.js for your environment
$ knex --env production migrate:latest # or whatever environment you choose
$ # see `knex -h` for more information

License

MIT License