diff --git a/scripts/ubuntu-test-install.sh b/scripts/ubuntu-test-install.sh index 7bc8be9..78a1e00 100644 --- a/scripts/ubuntu-test-install.sh +++ b/scripts/ubuntu-test-install.sh @@ -3,12 +3,25 @@ # This is not meant directly executed # just the set of commands to install in a fresh ubuntu vm for testing +#TODO: make a MOCK_DATA.sh file to hold sudo password, as well as GitHub credentials sudo apt install curl -sudo apt install npm +# Pipe yes into these installation commands +yes | sudo apt install npm -sudo apt install pkg-config +yes | sudo apt install pkg-config -curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh +curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y + +# Restart the terminal after installing rust so it gets added to the path. +reset curl -sL https://raw.githubusercontent.com/oseda-dev/oseda-cli/refs/heads/main/scripts/curl-install.sh | $SHELL + +# TODO: +# Automate logging into a dummy GitHub account so a new oseda project can be initialized +# Initialize and run a new oseda project in the user's browser + +oseda init + +oseda run \ No newline at end of file