Skip to content

Commit

Permalink
update installation
Browse files Browse the repository at this point in the history
  • Loading branch information
dongyuanjushi committed Nov 25, 2024
1 parent 335008c commit 5ea63ca
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions install/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,19 @@
# Installation directory
INSTALL_DIR="$HOME/.aios"
REPO_URL="https://github.com/agiresearch/AIOS"
BRANCH="v.20"
TAG="v0.2.0.beta" # Replace with your specific tag

echo "Installing AIOS..."

# Create installation directory
mkdir -p "$INSTALL_DIR"

# Clone specific branch
git clone -b "$BRANCH" "$REPO_URL" "$INSTALL_DIR/src"
# Clone the repository
git clone "$REPO_URL" "$INSTALL_DIR/src"

# Checkout the specific tag
cd "$INSTALL_DIR/src"
git checkout tags/"$TAG" -b "$TAG-branch"

# Create virtual environment
python3 -m venv "$INSTALL_DIR/venv"
Expand Down Expand Up @@ -242,4 +246,4 @@ echo " - 'aios env' to view current environment variables"
echo " - 'aios clean' to remove AIOS installation"
echo ""
echo "To modify environment variables, edit: $INSTALL_DIR/.env"
echo "The server will automatically restart when environment variables change"
echo "The server will automatically restart when environment variables change"

0 comments on commit 5ea63ca

Please sign in to comment.