diff --git a/docs/components/ui/label.tsx b/docs/components/ui/label.tsx
deleted file mode 100644
index 5341821..0000000
--- a/docs/components/ui/label.tsx
+++ /dev/null
@@ -1,26 +0,0 @@
-"use client"
-
-import * as React from "react"
-import * as LabelPrimitive from "@radix-ui/react-label"
-import { cva, type VariantProps } from "class-variance-authority"
-
-import { cn } from "@/lib/utils"
-
-const labelVariants = cva(
- "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
-)
-
-const Label = React.forwardRef<
- React.ElementRef,
- React.ComponentPropsWithoutRef &
- VariantProps
->(({ className, ...props }, ref) => (
-
-))
-Label.displayName = LabelPrimitive.Root.displayName
-
-export { Label }
diff --git a/docs/components/ui/switch.tsx b/docs/components/ui/switch.tsx
deleted file mode 100644
index 9511e19..0000000
--- a/docs/components/ui/switch.tsx
+++ /dev/null
@@ -1,29 +0,0 @@
-"use client"
-
-import * as React from "react"
-import * as SwitchPrimitives from "@radix-ui/react-switch"
-
-import { cn } from "@/lib/utils"
-
-const Switch = React.forwardRef<
- React.ElementRef,
- React.ComponentPropsWithoutRef
->(({ className, ...props }, ref) => (
-
-
-
-))
-Switch.displayName = SwitchPrimitives.Root.displayName
-
-export { Switch }
diff --git a/docs/content/docs/builder.mdx b/docs/content/docs/builder.mdx
index 41701ea..565a7b9 100644
--- a/docs/content/docs/builder.mdx
+++ b/docs/content/docs/builder.mdx
@@ -4,19 +4,6 @@ description: Customize your CKAN installation before running ckan-devstaller.
icon: Blocks
---
-ckan-devstaller attempts to install a CKAN instance from source along with [ckan-compose](https://github.com/tino097/ckan-compose/tree/ckan-devstaller) and other optional features, intended for development use in a new Ubuntu 22.04 instance.
-
-Make sure `ckan-devstaller` is run in a **new** Ubuntu 22.04 instance. Do NOT run `ckan-devstaller` in an existing instance that is important for your usage.
-
-import { Accordion, Accordions } from 'fumadocs-ui/components/accordion';
-
-
- If you are using Ubuntu 22.04 on VirtualBox, you may need to add your user to the sudoers file before running the ckan-devstaller install script. Open a terminal in your virtual machine (VM), run `su -` and log in as the root user with the password you used to set up the VM, then type:
`sudo adduser sudo`
where `` is your username then restart your VM and run the ckan-devstaller installer script.
- Currently `ckan-devstaller` supports `x86_64` architecture. `ARM64` support is planned.
-
-
----
-
import Builder from "@/components/builder";
diff --git a/docs/content/docs/changelog/0.3.1.mdx b/docs/content/docs/changelog/0.3.1.mdx
deleted file mode 100644
index 536bde0..0000000
--- a/docs/content/docs/changelog/0.3.1.mdx
+++ /dev/null
@@ -1,37 +0,0 @@
----
-title: Changelog for ckan-devstaller v0.3.1 (2025-10-30)
----
-
-## Updated CKAN default versions to latest stable versions
-
-We have updated ckan-devstaller to suggest the recent releases of CKAN [2.11.4](https://docs.ckan.org/en/2.11/changelog.html#v-2-11-4-2025-10-29) and [2.10.9](https://docs.ckan.org/en/2.10/changelog.html#v-2-10-9-2025-10-29).
-
-## Added the "Developing with WSL" page in the Reference section
-
-Developers using Windows may benefit from the new [Developing with WSL](/docs/reference/developing-with-wsl) page in the Reference section to try their builds of ckan-devstaller and verify things work on a new install of Ubuntu 22.04.
-
-Alternatively if not trying to reset an entire WSL environment, developers can look into [`ckan-devstaller uninstall`](/docs/tutorials/uninstall-ckan).
-
-## Added install script switch to Builder page
-
-There is now a switch on the Builder page that is enabled by default for including the installation script for ckan-devstaller before running it. This is necessary for users that don't have ckan-devstaller installed yet and are using the Builder over the Quick Start scripts.
-
-## Default start with the Builder page
-
-We've changed "Get Started" links (and similar links) to the Builder page instead of the Quick Start page to users can quickly access the Builder again and get started using ckan-devstaller.
-
-## Update ckan-compose links to use ckan-devstaller branch
-
-We've updated ckan-compose links to use [the ckan-devstaller branch](https://github.com/tino097/ckan-compose/tree/ckan-devstaller).
-
-## Update VirtualBox notice with better formatting
-
-To ensure users using VirtualBox see the full command for adding a user to the sudoers file, we've improved the formatting of the note.
-
-## GitHub Action to verify CKAN install runs
-
-We've added a GitHub Action to run on push to the main branch to verify that a CKAN-only install runs. This doesn't include verbose testing but rather ensuring that the ckan-devstaller finishes without errors.
-
-## New --skip-run flag
-
-We've added a `--skip-run` flag to skip running CKAN at the end of installation.
diff --git a/docs/content/docs/index.mdx b/docs/content/docs/index.mdx
index ffa0d8d..649b0c3 100644
--- a/docs/content/docs/index.mdx
+++ b/docs/content/docs/index.mdx
@@ -4,14 +4,14 @@ description: Get started with ckan-devstaller and install CKAN within minutes.
icon: Zap
---
-ckan-devstaller attempts to install a CKAN instance from source along with [ckan-compose](https://github.com/tino097/ckan-compose/tree/ckan-devstaller) and other optional features, intended for development use in a new Ubuntu 22.04 instance.
+ckan-devstaller attempts to install a CKAN instance from source along with [ckan-compose](https://github.com/tino097/ckan-compose) and other optional features, intended for development use in a new Ubuntu 22.04 instance.
Make sure `ckan-devstaller` is run in a **new** Ubuntu 22.04 instance. Do NOT run `ckan-devstaller` in an existing instance that is important for your usage.
import { Accordion, Accordions } from 'fumadocs-ui/components/accordion';
- If you are using Ubuntu 22.04 on VirtualBox, you may need to add your user to the sudoers file before running the ckan-devstaller install script. Open a terminal in your virtual machine (VM), run `su -` and log in as the root user with the password you used to set up the VM, then type:
`sudo adduser sudo`
where `` is your username then restart your VM and run the ckan-devstaller installer script.
+ If you are using Ubuntu 22.04 on VirtualBox, you may need to add your user to the sudoers file before running the ckan-devstaller install script. Open a terminal in your virtual machine (VM), run `su -` and log in as the root user with the password you used to set up the VM, then type `sudo adduser sudo` where `` is your username then restart your VM and run the ckan-devstaller installer script.Currently `ckan-devstaller` supports `x86_64` architecture. `ARM64` support is planned.
@@ -42,16 +42,16 @@ import { Step, Steps } from 'fumadocs-ui/components/steps';
### Install the "CKAN-only" preset
-By running the following script, ckan-devstaller will be downloaded and the default configuration for installing CKAN with ckan-compose will be selected. You can then customize your configuration interactively in your terminal after running this script.
+By running the following script, ckan-devstaller will be downloaded and the default configuration for installing CKAN 2.11.3 with ckan-compose will be selected. You can then customize your configuration interactively in your terminal after running this script.
```bash
-wget -O - https://github.com/dathere/ckan-devstaller/releases/download/0.3.1/install.bash | bash
+wget -O - https://github.com/dathere/ckan-devstaller/releases/download/0.3.0/install.bash | bash
```
If you'd rather skip the interactivity and go straight to installation, then run the following script instead:
```bash
-wget -O - https://github.com/dathere/ckan-devstaller/releases/download/0.3.1/install.bash | bash -s skip-interactive
+wget -O - https://github.com/dathere/ckan-devstaller/releases/download/0.3.0/install.bash | bash -s skip-interactive
```
@@ -62,7 +62,7 @@ wget -O - https://github.com/dathere/ckan-devstaller/releases/download/0.3.1/ins
The following script will download ckan-devstaller and select the following configuration:
-- CKAN latest stable version
+- CKAN 2.11.3
- [ckan-compose](https://github.com/tino097/ckan-compose/tree/ckan-devstaller)
- [DataStore extension](https://docs.ckan.org/en/2.11/maintaining/datastore.html)
- [ckanext-scheming extension](https://github.com/ckan/ckanext-scheming)
@@ -73,13 +73,13 @@ The following script will download ckan-devstaller and select the following conf
You can then customize your configuration interactively in your terminal after running this script.
```bash
-wget -O - https://github.com/dathere/ckan-devstaller/releases/download/0.3.1/install.bash | bash -s dathere-default
+wget -O - https://github.com/dathere/ckan-devstaller/releases/download/0.3.0/install.bash | bash -s dathere-default
```
If you'd rather skip the interactivity and go straight to installation, then run the following script instead:
```bash
-wget -O - https://github.com/dathere/ckan-devstaller/releases/download/0.3.1/install.bash | bash -s dathere-default skip-interactive
+wget -O - https://github.com/dathere/ckan-devstaller/releases/download/0.3.0/install.bash | bash -s dathere-default skip-interactive
```
diff --git a/docs/content/docs/reference/developing-with-wsl.mdx b/docs/content/docs/reference/developing-with-wsl.mdx
index c413785..16956f2 100644
--- a/docs/content/docs/reference/developing-with-wsl.mdx
+++ b/docs/content/docs/reference/developing-with-wsl.mdx
@@ -3,6 +3,10 @@ title: Developing with WSL
description: Tips on how to develop ckan-devstaller on a Windows machine by leveraging Windows Subsystem for Linux.
---
+
+ This page is a work in progress and is not intended to be used yet.
+
+
When developing ckan-devstaller on Windows, using Windows Subsystem for Linux (WSL) can be advantageous to demo an Ubuntu 22.04 environment without having to set up a virtual machine.
import { Step, Steps } from 'fumadocs-ui/components/steps';
@@ -26,6 +30,7 @@ wsl --install Ubuntu-22.04 --version 2
### Export a base image
+
Here's the expected set up where we create a WSL folder:
@@ -37,40 +42,12 @@ Here's the expected set up where we create a WSL folder:
| ├── cdr.vdhx
```
-First we'll generate the `images/ubuntu-22-04-snapshot.tar` file:
-
-```bash
-wsl --export Ubuntu-22.04 ./images/ubuntu-22-04-snapshot.tar
-```
-
-
-
-### Generate a VDHX file for our new instance
-
-Next we'll generate the `instances/cdr.vdhx` file, so we can run the following:
-
-```bash
-wsl --import cdr ./instances ./images/ubuntu-22-04-snapshot.tar
-```
-
-
-
-
-
-### Access your new instance as root
-
Now try to access your new Ubuntu 22.04 instance `cdr` as the `root` user by running:
```bash
wsl -d cdr
```
-
-
-
-
-### Set yourself as the admin user on the instance and log in as the admin user
-
Once logged in as `root`, you'll want to edit the `/etc/wsl.conf` file and modify it so you can login as an admin user instead of `root`. We can use the `nano` editor to modify the file:
```bash
@@ -105,27 +82,14 @@ Run the instance again and you should be logged in as your admin user by default
wsl -d cdr
```
-
-
-
-
-### Install ckan-devstaller
-
Great, now you can go to the home directory and run one of the [quick start](/docs) scripts:
```bash
cd ~/
```
-
-
-
-## Removing your instance
-
When you want to remove your instance (e.g. so that you can start a brand new instance) then run the following to unregister it:
```bash
wsl --unregister cdr
```
-
-Then you can follow the steps again from step 3 to generate and try out a new instance.
diff --git a/docs/content/docs/reference/installation-architecture.mdx b/docs/content/docs/reference/installation-architecture.mdx
index 16369f0..87c255e 100644
--- a/docs/content/docs/reference/installation-architecture.mdx
+++ b/docs/content/docs/reference/installation-architecture.mdx
@@ -27,7 +27,7 @@ The configuration file for CKAN is installed at `/etc/ckan/default/ckan.ini`:
## ckan-compose
-We install certain first-time install files and [`ckan-compose`](https://github.com/tino097/ckan-compose/tree/ckan-devstaller) as a directory in the user's home (`~`) directory. For example for the user `adam`:
+We install certain first-time install files and `ckan-compose` as a directory in the user's home (`~`) directory. For example for the user `adam`:
```files
/home/adam
diff --git a/docs/content/docs/reference/meta.json b/docs/content/docs/reference/meta.json
index 0d08c26..3cbd321 100644
--- a/docs/content/docs/reference/meta.json
+++ b/docs/content/docs/reference/meta.json
@@ -1,6 +1,6 @@
{
"pages": [
- "installation-architecture",
- "developing-with-wsl"
+ "...",
+ "!developing-with-wsl"
]
}
\ No newline at end of file
diff --git a/docs/package.json b/docs/package.json
index 52dd9d0..a13a8ad 100644
--- a/docs/package.json
+++ b/docs/package.json
@@ -13,8 +13,6 @@
"dependencies": {
"@radix-ui/react-accordion": "^1.2.12",
"@radix-ui/react-collapsible": "^1.1.12",
- "@radix-ui/react-label": "^2.1.7",
- "@radix-ui/react-switch": "^1.2.6",
"@radix-ui/react-tabs": "^1.1.13",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
diff --git a/install.bash b/install.bash
index b8b0001..dc0ec57 100644
--- a/install.bash
+++ b/install.bash
@@ -11,7 +11,7 @@ sudo apt install curl -y
cd ~/
# Download the ckan-devstaller binary file
-curl -LO https://github.com/dathere/ckan-devstaller/releases/download/0.3.1/ckan-devstaller
+curl -LO https://github.com/dathere/ckan-devstaller/releases/download/0.3.0/ckan-devstaller
# Add execute permission to ckan-devstaller binary file
sudo chmod +x ./ckan-devstaller
@@ -22,9 +22,9 @@ skip_interactive=$2
if [ $preset == "dathere-default" ]; then
if [ $skip_interactive == "skip-interactive" ]; then
- ./ckan-devstaller --ckan-version 2.11.4 --extensions ckanext-scheming DataStore DataPusher+ --features enable-ssh --skip-interactive
+ ./ckan-devstaller --ckan-version 2.11.3 --extensions ckanext-scheming DataStore DataPusher+ --features enable-ssh --skip-interactive
else
- ./ckan-devstaller --ckan-version 2.11.4 --extensions ckanext-scheming DataStore DataPusher+ --features enable-ssh
+ ./ckan-devstaller --ckan-version 2.11.3 --extensions ckanext-scheming DataStore DataPusher+ --features enable-ssh
fi
else
if [ $preset == "skip-interactive" ]; then
diff --git a/src/main.rs b/src/main.rs
index f304792..8bd5919 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -27,9 +27,6 @@ struct Args {
/// Skip interactive steps
#[arg(short, long)]
skip_interactive: bool,
- /// Skip running CKAN at the end of installation
- #[arg(short, long)]
- skip_run: bool,
#[arg(short, long)]
/// CKAN version to install defined by semantic versioning from official releases from https://github.com/ckan/ckan
ckan_version: Option,
@@ -113,7 +110,7 @@ rm -rf README ckan-compose ahoy dpp_default_config.ini get-docker.sh permissions
ckan_version: if args.ckan_version.is_some() {
args.ckan_version.unwrap()
} else {
- "2.11.4".to_string()
+ "2.11.3".to_string()
},
sysadmin: default_sysadmin.clone(),
extension_datastore: args
@@ -137,7 +134,7 @@ rm -rf README ckan-compose ahoy dpp_default_config.ini get-docker.sh permissions
if config.ssh {
default_config_text.push_str("\n- Install openssh-server to enable SSH access");
}
- default_config_text.push_str("\n- Install ckan-compose (https://github.com/tino097/ckan-compose/tree/ckan-devstaller) which sets up the CKAN backend (PostgreSQL, SOLR, Redis)");
+ default_config_text.push_str("\n- Install ckan-compose (https://github.com/tino097/ckan-compose) which sets up the CKAN backend (PostgreSQL, SOLR, Redis)");
default_config_text.push_str(format!("\n- Install CKAN v{}", config.ckan_version).as_str());
if config.extension_datastore {
default_config_text.push_str("\n- Install the DataStore extension");
@@ -283,10 +280,8 @@ rm -rf README ckan-compose ahoy dpp_default_config.ini get-docker.sh permissions
)?;
}
- if !args.skip_run {
- println!("\n{}", success_text("Running CKAN instance..."));
- cmd!(sh, "ckan -c /etc/ckan/default/ckan.ini run").run()?;
- }
+ println!("\n{}", success_text("Running CKAN instance..."));
+ cmd!(sh, "ckan -c /etc/ckan/default/ckan.ini run").run()?;
} else {
println!("Cancelling installation.");
}
diff --git a/src/questions.rs b/src/questions.rs
index 402639e..f8d5122 100644
--- a/src/questions.rs
+++ b/src/questions.rs
@@ -16,7 +16,7 @@ pub fn question_ssh() -> Result {
}
pub fn question_ckan_version() -> Result {
- let ckan_version_options: Vec<&str> = vec!["2.11.4", "2.10.9", "Other"];
+ let ckan_version_options: Vec<&str> = vec!["2.11.3", "2.10.8", "Other"];
let answer_ckan_version = Select::new(
"What CKAN version would you like to install? (optional)",
ckan_version_options,
@@ -26,7 +26,7 @@ pub fn question_ckan_version() -> Result {
if answer_ckan_version == "Other" {
Ok(
Text::new("What CKAN version would you like to install? (optional)")
- .with_default("2.11.4")
+ .with_default("2.11.3")
.prompt()?,
)
} else {
diff --git a/src/steps.rs b/src/steps.rs
index af19091..65b3e4b 100644
--- a/src/steps.rs
+++ b/src/steps.rs
@@ -11,7 +11,7 @@ pub fn step_intro() {
);
println!(
"This installer should assist in setting up {} from a source installation along with ckan-compose. If you have any issues, please report them at https://support.dathere.com or https://github.com/dathere/ckan-devstaller/issues.",
- highlighted_text("CKAN 2.11.4")
+ highlighted_text("CKAN 2.11.3")
);
println!(
"\nYou may also learn more about ckan-devstaller at https://ckan-devstaller.dathere.com."