Open Content
Docs homeNaviga web
  • Introduction
  • Overview
  • Key features
  • Meta data standards
  • Architecture
  • Open Content API
  • Headless and end-to-end CMS workflows
  • Use and explore
    • How does it work
    • Open Content Docker
    • OC REST API
    • Event logs
    • Replication
    • Open Content Notifier
    • New JSON API:s - CCA and Duppy
    • Terminology: Other backend services
    • Lab: upload
      • Curl for object upload
      • Environment
      • Lab 0: Configuration
      • Lab 1: Concept upload
      • Lab 2: Image upload
      • Lab 3: Article Upload
      • Lab 4: Search
      • Lab 5: Delete objects
      • Lab 6: Event sourcing using event log
  • Releases
    • Release documentation and admin guides
      • Open Content 2.3
    • New in OC 3.0 (draft)
      • Removed features in OC 3.0
  • XLibris Archive
    • Archive everything you ever created or published
    • Import content to XLibris
Powered by GitBook
On this page
Export as PDF
  1. Use and explore
  2. Lab: upload

Lab 0: Configuration

Upload and activate the configuration for an Open Content using Newsitem

This lab configures Open Content using editorial standard config

The script ./configure.sh in ~/oc-lab/opencontent-configs will configure Open Content:

cd ~/oc-lab/opencontent-configs/scripts
./configure.sh \
http://admin:admin@localhost:8080/opencontent \
editorial

Verify the configuration in Open Content admin UI (http://localhost/admin)

Activate the config either using the admin UI or curl below:

curl -u admin:admin \
-X POST "http://localhost:8080/opencontent/admin/configuration/activate" \
-H "accept: */*" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "reason=configured from script&name=$(whoami)"

Examine the + Configuration menu and more in Open Content admin UI

  • History

  • Compare (remove something)

  • Import/Export

  • Undo configuration

PreviousEnvironmentNextLab 1: Concept upload

Last updated 5 years ago