- Added detailed API endpoint information in SETUP-INSTRUCTIONS.md - Documented API usage with Ente CLI - Enhanced routing configuration for auth/cast/accounts apps - Updated to version 0.1.64
20 lines
535 B
Bash
Executable File
20 lines
535 B
Bash
Executable File
#!/bin/bash
|
|
# Setup Ente CLI for custom server
|
|
|
|
echo "Setting up Ente CLI for custom server..."
|
|
|
|
# Create config directory
|
|
mkdir -p ~/.ente
|
|
|
|
# Create the CLI config with custom endpoint
|
|
cat > ~/.ente/config.yaml << EOF
|
|
host: https://ente.due.ren
|
|
EOF
|
|
|
|
echo "Configuration created at ~/.ente/config.yaml"
|
|
echo ""
|
|
echo "Now you can add your account:"
|
|
echo " ente account add"
|
|
echo ""
|
|
echo "Then use admin commands:"
|
|
echo " ente admin update-subscription --admin-user admin@due.ren --user user@example.com --storage 1000 --valid-for 365" |