From cbd04129667a24b7eafe95138349922920ede63f Mon Sep 17 00:00:00 2001 From: Bohdan Ohorodnii Date: Mon, 16 Dec 2024 16:38:13 +0200 Subject: [PATCH] fix: remove old files --- DockerfileRocket | 4 ---- cairo_upgrade.sh | 18 ------------------ install.sh | 30 ------------------------------ 3 files changed, 52 deletions(-) delete mode 100755 cairo_upgrade.sh delete mode 100644 install.sh diff --git a/DockerfileRocket b/DockerfileRocket index 3adffb8e..cb642a39 100644 --- a/DockerfileRocket +++ b/DockerfileRocket @@ -49,10 +49,6 @@ RUN cargo build --release RUN chmod +x ./docker_run.sh -# Build the cairo compiler -WORKDIR /opt/app/api/cairo_compilers -RUN chmod +x ./build.sh; ./build.sh - EXPOSE 8000 WORKDIR /opt/app/api diff --git a/cairo_upgrade.sh b/cairo_upgrade.sh deleted file mode 100755 index ef0cefd2..00000000 --- a/cairo_upgrade.sh +++ /dev/null @@ -1,18 +0,0 @@ -git rm -r api/cairo_compilers/v* - -versions=(2.6.0 2.6.1 2.6.2 2.6.3 2.7.0 2.8.2 2.8.4) - -for version in "${versions[@]}" -do - echo $version - git submodule add https://github.com/starkware-libs/cairo api/cairo_compilers/v$version - cd api/cairo_compilers/v$version - git checkout $version - cd ../../../ -done - -git add -A -git submodule update --init --recursive - -git add -A -git commit -m "Add cairo compilers ${versions[*]}" diff --git a/install.sh b/install.sh deleted file mode 100644 index 009381a1..00000000 --- a/install.sh +++ /dev/null @@ -1,30 +0,0 @@ -sudo apt-get update -sudo apt-get install -y curl -sudo apt-get install -y git -sudo apt-get install -y software-properties-common -sudo apt-get install -y libgmp-dev -sudo apt-get install screen -y - -sudo add-apt-repository ppa:deadsnakes/ppa -y - -# Install python3.9 and pip3.9 -sudo apt install -y python3.9 python3.9-dev python3.9-distutils python3.9-venv -sudo apt-get install -y python3-pip - -# Install Rust -sudo curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y -source "$HOME/.cargo/env" - - -# Install nodejs -sudo curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - -sudo apt-get install -y nodejs - -# Install pnpm -sudo npm install -g pnpm - -python3.9 -m venv starknet-venv -source starknet-venv/bin/activate -pip3 install starknet-devnet - -deactivate \ No newline at end of file