CaSS

能力和技能系统。「Competency and Skills System」

Github stars Tracking Chart

CaSS

能力和技能服务 -- 能力管理。CaSS 是一个开源项目,提供了一个记录和管理能力以及断言的系统。对于任何需要跟踪任何领域用户进度的项目,它都可以作为一个结构基础。

高级文档
开发者文档

本文档的目的

本文件旨在作为安装 CaSS 的技术指南。

这个 CaSS 的安装将提供几个组件,这些组件的运行提供了一个工作系统。它是由以下部分组成:

  • CaSS 库,一个在 Servlet 容器如 Tomcat 中运行的 Java 应用程序。
  • CaSS 库,一个Javascript 库,在 web 应用和 CaSS 库之间提供一个互操作层。
  • CaSS Embeddable Apps, 一组用于品牌 web 应用的 iframeable 应用程序。
  • CaSS 适配器,一个解释 xAPI 语句和证明能力的适配器,以及一个将能力和框架同步到 Moodle 的适配器。

CaSS库

来自GitHub

https://github.com/cassproject/CaSS/tree/master/src/main/js

CDN

https://cdn.jsdelivr.net/gh/cassproject/cass@master/src/main/js/cass.js

NPM

https://www.npmjs.com/package/cassproject

安装

Ubuntu/Fedora Linux:

wget https://raw.githubusercontent.com/cassproject/CaSS/master/scripts/cassInstall.sh
chmod +x cassInstall.sh
sudo ./cassInstall.sh

在安装过程中,你将被要求选择一个版本来安装。"master" 安装将安装一个具有最新功能的不稳定版本。具体的版本可以依靠稳定和一致。

Windows (实验性)

wget https://raw.githubusercontent.com/cassproject/CaSS/master/scripts/cassInstall.sh
chmod +x cassInstall.sh
sudo ./cassInstall.sh

进入服务,启动elasticsearch-service-x64,并将其设置为自动启动。

Docker (实验性)

用于独立实例(基于Ubuntu)和分布式/可扩展实例(基于Alpine Linux)的Docker镜像可以在以下网站找到。
https://hub.docker.com/r/cassproject/cass

WAR (需要支持)

如果需要简单的升级,更换WAR通常是最快的方法。如果没有丰富的知识,不建议走这条路。
https://github.com/cassproject/CaSS/releases

安装后

为了支持开放的链接数据,在CaSS中创建的对象有公开的、可靠的URL是很重要的。对于这一点。

  • 给这个服务器分配一个域名。
  • 启用 HTTPS。
  • (可选)使用反向代理来密切控制端点。

在本地运行

克隆这个仓库后(确保你使用带有--recurse-submodules的git clone!),你可以用Jetty或Docker在本地运行CaSS。

mvn jetty:run //Note you'll need elasticsearch running on port 9200

或者

mvn install
docker-compose up --build -d


Overview

Name With Ownercassproject/CASS
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 5)
PlatformDocker, Linux, Windows
License:Apache License 2.0
Release Count153
Last Release Name1.5.55 (Posted on )
First Release Name0.2.0-RC1 (Posted on )
Created At2015-12-10 00:17:34
Pushed At2024-04-17 14:11:58
Last Commit At2024-03-28 07:05:20
Stargazers Count50
Watchers Count22
Fork Count25
Commits Count1.7k
Has Issues Enabled
Issues Count178
Issue Open Count34
Pull Requests Count49
Pull Requests Open Count15
Pull Requests Close Count63
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private

CaSS

Competency and Skills Service -- Competency Management

Development: master Build Status

High level documentation
Developer documentation

Purpose of this Document

This document is intended to act as a technical guide to the installation of CaSS.

This installation of CaSS will provide several components that operate to provide a working system. It is composed of:

  • The CaSS Repository, a Java application that runs in a Servlet Container, such as Tomcat.
  • The CaSS Library, a Javascript library that provides an interoperability layer between web applications and the CaSS Repository.
  • CaSS Embeddable Apps, a set of iframeable applications for branded web applications.
  • CaSS Adapters, an adapter that interprets xAPI statements and asserts competence, and an adapter that synchronizes competencies and frameworks to and from Moodle.

CaSS Libraries

From GitHub

https://github.com/cassproject/CaSS/tree/master/src/main/js

CDN

https://cdn.jsdelivr.net/gh/cassproject/cass@master/src/main/js/cass.js

NPM

https://www.npmjs.com/package/cassproject

Installation

Ubuntu/Fedora Linux:

wget https://raw.githubusercontent.com/cassproject/CaSS/master/scripts/cassInstall.sh
chmod +x cassInstall.sh
sudo ./cassInstall.sh

During the installation, you will be asked to select a version to install. The 'master' installation will install an unstable version with the latest features. Specific versions can be relied upon to be stable and consistant.

Windows (experimental)

@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
refreshenv
choco install -y cass
refreshenv

Go to services, start elasticsearch-service-x64 and set it to start automatically.

Docker (experimental)

Docker images for standalone instances (based on Ubuntu) and distributed/scalable instances (based on Alpine Linux) can be found at:

https://hub.docker.com/r/cassproject/cass

WAR (requires support)

If a simple upgrade is required, replacing the WAR can often be the fastest method. This path is not recommended without significant knowledge.

https://github.com/cassproject/CaSS/releases

Post Installation

To support open linked data, it is important that the objects created in CaSS have public, reliable URLs. For this:

  • Assign this server a domain name.
  • Enable HTTPS.
  • (Optional) Use a reverse proxy to control the endpoint closely.

Running Locally

After cloning this repository (ensure you use git clone with --recurse-submodules!), you can run CaSS locally with Jetty or Docker:

mvn jetty:run //Note you'll need elasticsearch running on port 9200

or

mvn install
docker-compose up --build -d
To the top