Skip to content

Commit

Permalink
Add blog post (#304)
Browse files Browse the repository at this point in the history
* Add blog post

* Fix documentation website
  • Loading branch information
eloots authored Oct 12, 2023
1 parent b6145bf commit df358e3
Show file tree
Hide file tree
Showing 11 changed files with 50 additions and 33 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
## Course Management Tools - 2.0.0

![CI](https://github.com/lunatech-labs/course-management-tools/workflows/CI/badge.svg)
<a href="https://github.com/lunatech-labs/course-management-tools/releases/latest">
![Latest](https://img.shields.io/github/v/release/lunatech-labs/course-management-tools?label=latest%20version)
![CI](https://github.com/scalacenter/course-management-tools/workflows/CI/badge.svg)
<a href="https://github.com/scalacenter/course-management-tools/releases/latest">
![Latest](https://img.shields.io/github/v/release/scalacenter/course-management-tools?label=latest%20version)
</a>

## Documentation

See the website: http://cmt.lunatech.com
See the website: https://scalacenter.github.io/course-management-tools/

2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ inThisBuild(
organizationName := "Scala Center",
organizationHomepage := Some(url("https://scala.epfl.ch")),
homepage := Some(url("https://scala.epfl.ch")),
developers := List(Developer("eloots", "Eric Loots", "eric.loots@lunatech.com", url("https://github.com/eloots"))),
developers := List(Developer("eloots", "Eric Loots", "eric.loots@gmail.com", url("https://github.com/eloots"))),
licenses := Seq("Apache-2.0" -> url("http://www.apache.org/license/LICENSE-2.0"))))

ThisBuild / dynverVTagPrefix := false
Expand Down
4 changes: 2 additions & 2 deletions cmta/src/main/resources/reflect-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"fields":[{"name":"0bitmap$1"}]
},
{
"name":"com.lunatech.cmt.admin.cli.ArgParsers$",
"name":"coursemgmt.admin.cli.ArgParsers$",
"fields":[
{"name":"configurationFileArgParser$lzy1"},
{"name":"courseTemplateArgParser$lzy1"},
Expand All @@ -47,7 +47,7 @@
]
},
{
"name":"com.lunatech.cmt.admin.cli.SharedOptions$",
"name":"coursemgmt.admin.cli.SharedOptions$",
"fields":[
{"name":"help$lzy1"},
{"name":"parser$lzy1"}
Expand Down
4 changes: 2 additions & 2 deletions docs/reference-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The behaviour of the `cmta` command can be changed via configuration.

If a file named `course-management.conf` is present in the root folder of
the CMT main repository, CMT settings in that file will override the default
value from the [reference configuration](https://github.com/lunatech-labs/course-management-tools/blob/main/core/src/main/resources/reference.conf).
value from the [reference configuration](https://github.com/scalacenter/course-management-tools/blob/main/cmt-core/src/main/resources/reference.conf).


`cmta` takes the `-cfg <cfg file>` option which can be used
Expand Down Expand Up @@ -82,4 +82,4 @@ or deletes such folders while performing its tasks.

## Reference configuration

The complete reference configuration can be found [here](https://github.com/lunatech-labs/course-management-tools/blob/main/core/src/main/resources/reference.conf).
The complete reference configuration can be found [here](https://github.com/scalacenter/course-management-tools/blob/main/cmt-core/src/main/resources/reference.conf).
4 changes: 2 additions & 2 deletions docs/version1-docs/v1-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ Make sure to have a [recent version of **_git_**](https://git-scm.com/downloads)
## Installation

The preferred way to install the Course Management Tools is to download
the binaries from [the latest (version 1) release](https://github.com/lunatech-labs/course-management-tools/releases/tag/1.0.3).
the binaries from [the latest (version 1) release](https://github.com/scalacenter/course-management-tools/releases/tag/1.0.3).

The installation procedure is rather straightforward:

- download the `course-management-tools.zip` file from the [release page](https://github.com/lunatech-labs/course-management-tools/releases)
- download the `course-management-tools.zip` file from the [release page](https://github.com/scalacenter/course-management-tools/releases)
- unzip the content in a folder
- update your PATH to include the `course-management-tools/bin` folder in
the folder in which you unzipped the downloaded zip file
Expand Down
4 changes: 2 additions & 2 deletions docs/version1-docs/v1-reference-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ studentify.studentified-project-name = "base"
This settings is used to add per-exercise specific sbt build code and
is useful for example to enable sbt plugins and/or sbt plugin settings
for every exercise. You can see an example of this in the [Play CMT main
template repo](https://github.com/lunatech-labs/course-management-tools/blob/3a8ca61fff34fe5f1a7daed81f96c9b95c167f0c/course-templates/play-cmt-template-no-common/course-management.conf#L19).
template repo](https://github.com/scalacenter/course-management-tools/blob/3a8ca61fff34fe5f1a7daed81f96c9b95c167f0c/course-templates/play-cmt-template-no-common/course-management.conf#L19).

Applies to `cmt-mainadm`, `cmt-studentify`, `cmt-linearize`

Expand Down Expand Up @@ -234,4 +234,4 @@ apply the settings defined in `CommonSettings.configure`.

## Reference configuration

The complete reference configuration can be found [here](https://github.com/lunatech-labs/course-management-tools/blob/main/core/src/main/resources/reference.conf).
The complete reference configuration can be found [here](https://github.com/scalacenter/course-management-tools/blob/76b476ccaba3cf8b5a9f1ae499cd56aa342e59a0/core/src/main/resources/reference.conf#L1).
10 changes: 5 additions & 5 deletions docs/version1-docs/v1-your-first-project.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,14 @@ $ cmt-mainadm init
Checkout template into /var/folders/rq/vhwkgm9x2rs33jl4t2x6t6jr0000gn/T/sbt_78941d08
Initialized empty Git repository in /private/var/folders/rq/vhwkgm9x2rs33jl4t2x6t6jr0000gn/T/sbt_78941d08/.git/
Updating origin
From https://github.com/lunatech-labs/course-management-tools
From https://github.com/scalacenter/course-management-tools
* [new branch] add-documentation -> origin/add-documentation
* [new branch] add-social-media-preview-image-and-fix-footer-links -> origin/add-social-media-preview-image-and-fix-footer-links
* [new branch] gh-pages -> origin/gh-pages
* [new branch] main -> origin/main
* [new branch] mainadm-validation-fix -> origin/mainadm-validation-fix
* [new tag] 1.0.0 -> 1.0.0
From https://github.com/lunatech-labs/course-management-tools
From https://github.com/scalacenter/course-management-tools
* branch main -> FETCH_HEAD
Template created in /var/folders/rq/vhwkgm9x2rs33jl4t2x6t6jr0000gn/T/sbt_78941d08/course-templates/scala-cmt-template-no-common/
Copying template to /Users/ericloots/tmp/starting-with-scala
Expand Down Expand Up @@ -245,7 +245,7 @@ man [e] > Starting with Scala > initial state > man
## Description
This project can be used as a template for a master
project managed by the [Course Management Tools](https://github.com/lunatech-labs/course-management-tools)
project managed by the [Course Management Tools](https://github.com/scalacenter/course-management-tools)
It contains 2 simple steps (or exercises)
Expand Down Expand Up @@ -416,14 +416,14 @@ mainadm init --template scala-cmt-template-no-common --name "Starting with Scala
Checkout template into /var/folders/rq/vhwkgm9x2rs33jl4t2x6t6jr0000gn/T/sbt_78941d08
Initialized empty Git repository in /private/var/folders/rq/vhwkgm9x2rs33jl4t2x6t6jr0000gn/T/sbt_78941d08/.git/
Updating origin
From https://github.com/lunatech-labs/course-management-tools
From https://github.com/scalacenter/course-management-tools
* [new branch] add-documentation -> origin/add-documentation
* [new branch] add-social-media-preview-image-and-fix-footer-links -> origin/add-social-media-preview-image-and-fix-footer-links
* [new branch] gh-pages -> origin/gh-pages
* [new branch] main -> origin/main
* [new branch] mainadm-validation-fix -> origin/mainadm-validation-fix
* [new tag] 1.0.0 -> 1.0.0
From https://github.com/lunatech-labs/course-management-tools
From https://github.com/scalacenter/course-management-tools
* branch main -> FETCH_HEAD
Template created in /var/folders/rq/vhwkgm9x2rs33jl4t2x6t6jr0000gn/T/sbt_78941d08/course-templates/scala-cmt-template-no-common/
Copying template to /Users/ericloots/tmp/starting-with-scala
Expand Down
10 changes: 5 additions & 5 deletions docs/your-first-project.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@ $ cmt-mainadm init
Checkout template into /var/folders/rq/vhwkgm9x2rs33jl4t2x6t6jr0000gn/T/sbt_78941d08
Initialized empty Git repository in /private/var/folders/rq/vhwkgm9x2rs33jl4t2x6t6jr0000gn/T/sbt_78941d08/.git/
Updating origin
From https://github.com/lunatech-labs/course-management-tools
From https://github.com/scalacenter/course-management-tools
* [new branch] add-documentation -> origin/add-documentation
* [new branch] add-social-media-preview-image-and-fix-footer-links -> origin/add-social-media-preview-image-and-fix-footer-links
* [new branch] gh-pages -> origin/gh-pages
* [new branch] main -> origin/main
* [new branch] mainadm-validation-fix -> origin/mainadm-validation-fix
* [new tag] 1.0.0 -> 1.0.0
From https://github.com/lunatech-labs/course-management-tools
From https://github.com/scalacenter/course-management-tools
* branch main -> FETCH_HEAD
Template created in /var/folders/rq/vhwkgm9x2rs33jl4t2x6t6jr0000gn/T/sbt_78941d08/course-templates/scala-cmt-template-no-common/
Copying template to /Users/ericloots/tmp/starting-with-scala
Expand Down Expand Up @@ -243,7 +243,7 @@ man [e] > Starting with Scala > initial state > man
## Description
This project can be used as a template for a master
project managed by the [Course Management Tools](https://github.com/lunatech-labs/course-management-tools)
project managed by the [Course Management Tools](https://github.com/scalacenter/course-management-tools)
It contains 2 simple steps (or exercises)
Expand Down Expand Up @@ -414,14 +414,14 @@ mainadm init --template scala-cmt-template-no-common --name "Starting with Scala
Checkout template into /var/folders/rq/vhwkgm9x2rs33jl4t2x6t6jr0000gn/T/sbt_78941d08
Initialized empty Git repository in /private/var/folders/rq/vhwkgm9x2rs33jl4t2x6t6jr0000gn/T/sbt_78941d08/.git/
Updating origin
From https://github.com/lunatech-labs/course-management-tools
From https://github.com/scalacenter/course-management-tools
* [new branch] add-documentation -> origin/add-documentation
* [new branch] add-social-media-preview-image-and-fix-footer-links -> origin/add-social-media-preview-image-and-fix-footer-links
* [new branch] gh-pages -> origin/gh-pages
* [new branch] main -> origin/main
* [new branch] mainadm-validation-fix -> origin/mainadm-validation-fix
* [new tag] 1.0.0 -> 1.0.0
From https://github.com/lunatech-labs/course-management-tools
From https://github.com/scalacenter/course-management-tools
* branch main -> FETCH_HEAD
Template created in /var/folders/rq/vhwkgm9x2rs33jl4t2x6t6jr0000gn/T/sbt_78941d08/course-templates/scala-cmt-template-no-common/
Copying template to /Users/ericloots/tmp/starting-with-scala
Expand Down
3 changes: 1 addition & 2 deletions website/blog/2023-08-24-release-cmt-2.0.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ build tool(s) used in a course.

### How To Install

Installation is a breeze using Coursier: you can find the instructions [here](https://cmt.lunatech.com/docs/install)

Installation is a breeze using Coursier: you can find the instructions [here](https://scalacenter.github.io/course-management-tools/docs/install)

### Contributors

Expand Down
20 changes: 20 additions & 0 deletions website/blog/2023-10-12-move-repo-to-scalacenter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
title: Moving CMT to the Scala Center organisation
author: Eric Loots
authorURL: http://github.com/eloots
---

## Moving CMT to the Scala Center organisation

After launching version 2 of the Course Management Tools (CMT) in July 2023, I'm very happy to announce that the Scala Center has accepted my request to host the CMT project on its GitHub organisation. Here's why I requested the transfer:

- I want the open source community to stay in control of the CMT project which aligns with the Scala Center's mission;
- CMT is useful to the anyone who needs to create and maintain course exercises, independently of the programming language or build tool used. By being hosted by the Scala Center, its visibility to potential users is likely to increase;
- Increased visibility will probably lead to more feedback about ways to enhance the tools which will be beneficial to everyone;
- Last but not least, CMT was written in Scala 3, which makes the Scala Center a natural choice to host the tools.

As for myself, I will continue to maintain and enhance CMT after the transfer and I already have a list of new features that I plan to add after the transfer.

A big thanks to the Scala Center!

https://bit.ly/course-management-tools
13 changes: 5 additions & 8 deletions website/siteConfig.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// See https://docusaurus.io/docs/site-config for all the possible
// site configuration options.

const repoUrl = 'https://github.com/lunatech-labs/course-management-tools'
const repoUrl = 'https://github.com/scalacenter/course-management-tools'
// List of projects/orgs using your project for the users page.
const users = [
{
Expand All @@ -17,31 +17,28 @@ const users = [
// You will need to prepend the image path with your baseUrl
// if it is not '/', like: '/test-site/img/image.jpg'.
image: 'img/dotty-logo-white.svg',
infoLink: 'https://github.com/lunatech-labs/lunatech-scala-2-to-scala3-course',
infoLink: 'https://github.com/scalacenter/lunatech-scala-2-to-scala3-course',
pinned: true,
},
];

const siteConfig = {
title: 'Course Management Tools',
tagline: 'A set of tools to build and maintain\ntraining courses, demos, and POCs.',
url: 'https://cmt.lunatech.com',
url: 'https://scalacenter.github.io/course-management-tools/',
baseUrl: '/',

// The CNAME for the website
cname: "cmt.lunatech.com",

// Documentation source files generated by mdoc
customDocsPath: "course-management-tools-docs/target/mdoc",

// Used for publishing and more
projectName: 'course-management-tools',
organizationName: 'lunatech-labs',
organizationName: 'scalacenter',

// Algolia DocSearch
algolia: {
apiKey: 'ad215f5ba694d2e808dde2e2c3c465f4',
indexName: 'lunatech-labs_course-management-tools',
indexName: 'scalacenter_course-management-tools',
//appId: 'app-id', // Optional, if you run the DocSearch crawler on your own
// algoliaOptions: {} // Optional, if provided by Algolia
},
Expand Down

0 comments on commit df358e3

Please sign in to comment.