diff --git a/.github/workflows/run-ckan-only-install.yml b/.github/workflows/run-ckan-only-install.yml index 56a042d..68ea266 100644 --- a/.github/workflows/run-ckan-only-install.yml +++ b/.github/workflows/run-ckan-only-install.yml @@ -10,7 +10,7 @@ on: jobs: ckanonlyinstall: name: Run ckan-devstaller with a CKAN-only install - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 permissions: # For the git-auto-commit-action contents: write diff --git a/README.md b/README.md index 4962d8d..762f607 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ {1329F0BA-A29F-4BF8-BB6B-E3BA84FDAFCC} -`ckan-devstaller` attempts to install a [CKAN](https://ckan.org) instance using [ckan-compose](https://github.com/tino097/ckan-compose/tree/ckan-devstaller) for development usage in a new Ubuntu 24.04 instance. +`ckan-devstaller` attempts to install a [CKAN](https://ckan.org) instance using [ckan-compose](https://github.com/tino097/ckan-compose/tree/ckan-devstaller) for development usage in a new Ubuntu 22.04 instance. You may find `ckan-devstaller` useful for: diff --git a/docs/app/(home)/page.tsx b/docs/app/(home)/page.tsx index 39caa76..cbe1ce2 100644 --- a/docs/app/(home)/page.tsx +++ b/docs/app/(home)/page.tsx @@ -107,7 +107,7 @@ function Hero() {

ckan-devstaller is a command-line tool to automate installing CKAN for - development using ckan-compose on a new Ubuntu 24.04 instance. + development using ckan-compose on a new Ubuntu 22.04 instance.

Provided by{" "} diff --git a/docs/content/docs/builder.mdx b/docs/content/docs/builder.mdx index d823a6a..41701ea 100644 --- a/docs/content/docs/builder.mdx +++ b/docs/content/docs/builder.mdx @@ -4,14 +4,14 @@ 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 24.04 instance. +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 24.04 instance. Do NOT run `ckan-devstaller` in an existing instance that is important for your usage. +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 24.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.
diff --git a/docs/content/docs/index.mdx b/docs/content/docs/index.mdx index a8b81b0..ffa0d8d 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 24.04 instance. +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 24.04 instance. Do NOT run `ckan-devstaller` in an existing instance that is important for your usage. +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 24.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.
diff --git a/docs/content/docs/reference/developing-with-wsl.mdx b/docs/content/docs/reference/developing-with-wsl.mdx index 80a766b..c413785 100644 --- a/docs/content/docs/reference/developing-with-wsl.mdx +++ b/docs/content/docs/reference/developing-with-wsl.mdx @@ -3,7 +3,7 @@ title: Developing with WSL description: Tips on how to develop ckan-devstaller on a Windows machine by leveraging Windows Subsystem for Linux. --- -When developing ckan-devstaller on Windows, using Windows Subsystem for Linux (WSL) can be advantageous to demo an Ubuntu 24.04 environment without having to set up a virtual machine. +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'; import { File, Folder, Files } from 'fumadocs-ui/components/files'; @@ -11,12 +11,12 @@ import { File, Folder, Files } from 'fumadocs-ui/components/files'; -### Install the Ubuntu-24.04 distribution +### Install the Ubuntu-22.04 distribution -You'll need to have the Ubuntu-24.04 distribution installed by running the following command: +You'll need to have the Ubuntu-22.04 distribution installed by running the following command: ```bash -wsl --install Ubuntu-24.04 --version 2 +wsl --install Ubuntu-22.04 --version 2 ``` @@ -40,7 +40,7 @@ Here's the expected set up where we create a WSL folder: First we'll generate the `images/ubuntu-22-04-snapshot.tar` file: ```bash -wsl --export Ubuntu-24.04 ./images/ubuntu-22-04-snapshot.tar +wsl --export Ubuntu-22.04 ./images/ubuntu-22-04-snapshot.tar ``` @@ -59,7 +59,7 @@ wsl --import cdr ./instances ./images/ubuntu-22-04-snapshot.tar ### Access your new instance as root -Now try to access your new Ubuntu 24.04 instance `cdr` as the `root` user by running: +Now try to access your new Ubuntu 22.04 instance `cdr` as the `root` user by running: ```bash wsl -d cdr diff --git a/src/steps.rs b/src/steps.rs index 77a124f..af19091 100644 --- a/src/steps.rs +++ b/src/steps.rs @@ -19,7 +19,7 @@ pub fn step_intro() { println!( "\n{}\n", important_text( - "This installer is only intended for a brand new installation of Ubuntu 24.04." + "This installer is only intended for a brand new installation of Ubuntu 22.04." ) ); }