-
Notifications
You must be signed in to change notification settings - Fork 11
Admin help
Maximilian Haack edited this page Apr 28, 2017
·
4 revisions
While the JSON Schemas are still in development we need to update them upon every change.
- To update the JSON Schemas in the database run the
bin/update_json_schemashelper script:for this your public key has to be part of thebin/update_json_schemas /Users/max/.ssh/id_rsa config/authorized_keys/ce_registry/max.pem http://lr-staging.learningtapestry.com
config/authorized_keys/ - To update the JSON Schema files run:
Note that we use
curl -s 'http://credreg.net/ctdl/schema/validation/Credential/json?asGroup=true' | jq '.' > fixtures/schemas/ce_registry/credential.json curl -s 'http://credreg.net/ctdl/schema/validation/AssessmentProfile/json?asGroup=true' | jq '.' > fixtures/schemas/ce_registry/assessment_profile.json curl -s 'http://credreg.net/ctdl/schema/validation/LearningOpportunityProfile/json?asGroup=true' | jq '.' > fixtures/schemas/ce_registry/learning_opportunity_profile.json curl -s 'http://credreg.net/ctdl/schema/validation/Agent/json?asGroup=true' | jq '.' > fixtures/schemas/ce_registry/organization.json
jqto format the JSON in this example.