mirror of
https://github.com/dathere/ckan-devstaller.git
synced 2026-07-05 16:52:19 +00:00
- Fix unquoted $flag in install.bash (unary operator error when no arg) - Fix pip install syntax: use PEP 440 direct URL format for CKAN and ckanext-scheming (pip 26+ rejects extras in #egg= fragment) - Add CLAUDE.md with architecture notes, known issues, and sysadmin setup - Add deployment-from-source section to README for ARM users Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
28 lines
711 B
Bash
28 lines
711 B
Bash
#!/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.2.0/ckan-devstaller
|
|
|
|
# Add execute permission to ckan-devstaller binary file
|
|
sudo chmod +x ./ckan-devstaller
|
|
|
|
# Run the ckan-devstaller binary file
|
|
# If the user provides an argument "default", run ckan-devstaller in non-interactive mode with the default config
|
|
# Otherwise run ckan-devstaller in interactive mode
|
|
flag=$1
|
|
|
|
if [ "$flag" == "default" ]; then
|
|
./ckan-devstaller --default
|
|
else
|
|
./ckan-devstaller
|
|
fi
|