-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding build_ubuntu.sh script for installing amareleo
- Loading branch information
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 "==================================================" |