Merge branch 'main' into v2.0

This commit is contained in:
0xOzgur 2024-10-14 10:49:30 +03:00 committed by GitHub
commit 717709978b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 19 additions and 3 deletions

View File

@ -20,13 +20,16 @@ After first run, when you need to reach your node, you need to run only;
Use below command to install v2.0
wget -O - https://raw.githubusercontent.com/0xOzgur/QuilibriumTools/main/install/install_quilibrium_service.sh | bash
**Autoupdater**
If you need to update your node from previous version to 2.0, apply below command
wget -O - https://raw.githubusercontent.com/0xOzgur/QuilibriumTools/main/update/update.sh | bash
For easy management of your nodes I created some shortcodes. You can import .profile or .bash_profile (Some Debian installations) file and source. Then you can easily query node related infos.

View File

@ -145,9 +145,6 @@ else
echo "ceremonyclient.service file does not exist. No action taken."
fi
CPU_THREADS=$(nproc)
CPU_QUOTA=$(( CPU_THREADS * 90 ))
sudo tee /lib/systemd/system/ceremonyclient.service > /dev/null <<EOF
[Unit]
Description=Ceremony Client Go App Service

View File

@ -60,8 +60,11 @@ git checkout release-cdn
# Step 7:Build Docker Container
echo "⏳Building Ceremonyclient Container"
sleep 2 # Add a 2-second delay
docker build --build-arg GIT_COMMIT=$(git log -1 --format=%h) -t quilibrium:2.0 .2.0
# Step 8:Run Ceremonyclient Container
echo "✅Running Ceremonyclient Container"
sleep 2 # Add a 2-second delay

View File

@ -1,6 +1,8 @@
#!/bin/bash
# Set the version number
VERSION="2.0.0.1"
cd ~
# Step 0: Welcome
echo "This script is made with ❤️ by 0xOzgur @ https://quilibrium.space "

View File

@ -28,6 +28,7 @@ OS=$(uname -s)
# Determine the node binary name based on the architecture and OS
if [ "$ARCH" = "x86_64" ]; then
if [ "$OS" = "Linux" ]; then
NODE_BINARY='node-2.0-linux-amd64'
elif [ "$OS" = "Darwin" ]; then
NODE_BINARY='node-2.0-darwin-amd64'

View File

@ -6,8 +6,10 @@ source ~/.bashrc
clear
# Set the version number
VERSION="2.0.0.1"
# Determine the ExecStart line based on the architecture
ARCH=$(uname -m)
OS=$(uname -s)

View File

@ -1,7 +1,9 @@
#!/bin/bash
VERSION="2.0.0.1"
# Step 0: Welcome
echo "This script is made with ❤️ by 0xOzgur @ https://quilibrium.space"
echo "⏳Enjoy and sit back while you are upgrading your Quilibrium Node to v$VERSION!"

View File

@ -1,8 +1,10 @@
#!/bin/bash
# Step 0: Welcome
echo "This script is made with ❤️ by 0xOzgur"
echo "⏳Enjoy and sit back while you are upgrading your Quilibrium Node to v2.0!"
echo "⏳Processing..."
sleep 10 # Add a 10-second delay
@ -10,7 +12,9 @@ sleep 10 # Add a 10-second delay
service ceremonyclient stop
# Step 1:Download Binary
echo "⏳ Downloading New Release v2.0"
cd ~/ceremonyclient
git pull
git checkout release-cdn
@ -18,8 +22,10 @@ git checkout release-cdn
# Step 7:Build Docker Container
echo "⏳Building Ceremonyclient Container"
sleep 2 # Add a 2-second delay
docker build --build-arg GIT_COMMIT=$(git log -1 --format=%h) -t quilibrium -t quilibrium:2.0 .
# Step 8:Run Ceremonyclient Container
echo "✅Running Ceremonyclient Container"
sleep 2 # Add a 2-second delay