purplesquirrelnetworks's picture
Upload documentation/INSTALL.md with huggingface_hub
bfe217a verified

πŸš€ Coldstar - Quick Installation Guide

One-Command Installation

Windows (PowerShell)

Open PowerShell and run:

powershell -ExecutionPolicy Bypass -File install.ps1

Or if you need to allow script execution first:

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
.\install.ps1

macOS

Open Terminal and run:

chmod +x install.sh && ./install.sh

Note: On macOS, the installer uses Homebrew to install Python if needed. If you don't have Homebrew, the script will prompt you to install it first.

Linux

Open Terminal and run:

chmod +x install.sh && ./install.sh

What Gets Installed

The installation script automatically:

  1. βœ… Checks for Python 3.7+ - Installs if missing
  2. βœ… Checks for Rust/Cargo - Installs if missing
  3. βœ… Installs Python dependencies - From requirements files
  4. βœ… Builds Rust components - Compiles secure_signer
  5. βœ… Verifies everything works - Runs health checks

Manual Installation (Advanced)

If the automatic installer doesn't work for your system:

1. Install Python

Windows:

winget install Python.Python.3.12

macOS:

brew install python3

Linux (Ubuntu/Debian):

sudo apt-get update
sudo apt-get install python3 python3-pip

2. Install Rust

All platforms:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Or visit: https://rustup.rs/

3. Install Dependencies

pip install -r local_requirements.txt

4. Build Rust Components

cd secure_signer
cargo build --release
cd ..

After Installation

Run the application:

python main.py

Or use the quickstart script:

Windows:

.\quickstart.ps1

Linux/macOS:

./quickstart.sh

Troubleshooting

Python Not Found After Installation

Windows: Restart PowerShell or run:

$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")

Linux/macOS: Restart terminal or run:

source ~/.bashrc  # or ~/.zshrc for macOS

Cargo Not Found After Installation

All platforms: Run:

source $HOME/.cargo/env

Permission Denied (Linux/macOS)

Make sure the script is executable:

chmod +x install.sh

winget Not Available (Windows)

Install Windows Package Manager from the Microsoft Store, or manually download Python and Rust from:


System Requirements

  • OS: Windows 10+, macOS 10.15+, Linux (any modern distro)
  • Disk Space: ~2GB (for all dependencies)
  • Internet: Required for initial download of dependencies

Support

If you encounter issues:

  1. Check the error messages - they usually indicate what's missing
  2. Try the manual installation steps above
  3. Open an issue on GitHub with your OS and error details

Enjoy using Coldstar! 🌟