Skip to content

Commit

Permalink
adding build_ubuntu.sh script for installing amareleo
Browse files Browse the repository at this point in the history
  • Loading branch information
kaxxa123 committed Feb 15, 2025
1 parent 22e9e52 commit 647c986
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions build_ubuntu.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#!/bin/bash
echo "======================================================"
echo " Attention - Building amareleo from source code."
echo " This will request root permissions with sudo."
echo "======================================================"

# Install Ubuntu dependencies

sudo apt-get update
sudo apt-get install -y \
build-essential \
curl \
clang \
gcc \
libssl-dev \
llvm \
make \
pkg-config \
tmux \
xz-utils \
ufw


# Install Rust

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source $HOME/.cargo/env

# Install amareleo
# cargo clean
cargo install --locked --path .

echo "=================================================="
echo " Attention - Please ensure port 3030 is enabled "
echo " on your local network."
echo ""
echo " Cloud Providers - Enable port 3030 in your"
echo " network firewall"
echo ""
echo " Home Users - Enable port forwarding or NAT rule"
echo " for 3030 on your router."
echo "=================================================="

0 comments on commit 647c986

Please sign in to comment.