mirror of
https://github.com/dathere/ckan-devstaller.git
synced 2025-11-09 13:39:49 +00:00
feat: add install script and mention where to report issues
This commit is contained in:
parent
4c219e0570
commit
2c03f13f75
2 changed files with 22 additions and 3 deletions
20
install.bash
Normal file
20
install.bash
Normal 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
|
||||
|
|
@ -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!(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue