feat: add install script and mention where to report issues

This commit is contained in:
rzmk 2025-08-18 05:15:20 -04:00
parent 4c219e0570
commit 2c03f13f75
2 changed files with 22 additions and 3 deletions

20
install.bash Normal file
View file

@ -0,0 +1,20 @@
#!/usr/bin/env bash
# Update/Upgrade system dependencies
sudo apt update -y
sudo apt upgrade -y
# Install curl
sudo apt install curl -y
# Change to the home directory
cd ~/
# Download the ckan-devstaller binary file
curl -LO https://github.com/dathere/ckan-devstaller/releases/download/0.1.0/ckan-devstaller
# Add execute permission to ckan-devstaller binary file
sudo chmod +x ./ckan-devstaller
# Run the ckan-devstaller binary file
./ckan-devstaller

View file

@ -1,9 +1,8 @@
use std::{path::PathBuf, str::FromStr};
use anyhow::Result;
use inquire::Confirm;
use owo_colors::{OwoColorize, Stream::Stdout};
use serde_json::json;
use std::{path::PathBuf, str::FromStr};
use xshell::cmd;
use xshell_venv::{Shell, VirtualEnv};
@ -14,7 +13,7 @@ fn main() -> Result<()> {
"https://datHere.com".if_supports_color(Stdout, |text| text.on_blue().white()),
);
println!(
"This installer should assist in setting up {} from a source installation along with ckan-compose (https://github.com/tino097/ckan-compose).",
"This installer should assist in setting up {} from a source installation along with ckan-compose (https://github.com/tino097/ckan-compose). If you have any issues, please report them at https://github.com/dathere/ckan-devstaller/issues.",
"CKAN 2.11.3".if_supports_color(Stdout, |text| text.on_blue().white())
);
println!(