Viva beta Setup on AWS Lightsail Ubuntu Server (using dotnet; not docker) #1529
KVonGit
started this conversation in
Developing Quest
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've got http://viva-beta.textmisadventures.com running at the moment.
It's on an AWS Lightsail Ubuntu Server 24.0.4 instance, with 2GB of RAM
To set things up, from a fresh Ubuntu Server:
sudo apt update && sudo apt upgrade -y
mkdir Documents
mkdir Documents/GitHub
cd Documents/GitHub
git clone https://github.com/textadventures/quest.git
nano quest/src/WebPlayer/Properties/launchSettings.json
"applicationUrl": "http://localhost:5052",
to"applicationUrl": "http://*:80",
sudo su
cd
curl -L https://dot.net/v1/dotnet-install.sh -o dotnet-install.sh
chmod +x ./dotnet-install.sh
./dotnet-install.sh --channel 9.0
nano ./bashrc
export DOTNET_ROOT=$HOME/.dotnet
export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools
exit
sudo su
)sudo su
cd
screen
dotnet run --project ~/Documents/GitHub/quest/src/WebPlayer/WebPlayer.csproj
At this point, we can detach from the screen by CTRL+A followed immediately by CTRL+D.
Now we can close our terminal, and the app will keep running in the detached screen on our server.
To get back into that screen (be sure to operating as su):
screen -list
will show the idscreen -r ID_HERE
will reattach itBeta Was this translation helpful? Give feedback.
All reactions