feat: Adding support to run on Github Codespaces for local development and testing.
Signed-off-by: Alex Yong <alexjyong@gmail.com>pull/131/head
parent
400a603122
commit
342b8a1181
@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "RevoltChat",
|
||||
"postCreateCommand": "bash firefox.sh",
|
||||
"forwardPorts": [6080],
|
||||
"features": {
|
||||
"ghcr.io/devcontainers/features/desktop-lite:1": {}
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
echo "Updating package lists..."
|
||||
sudo apt update -y
|
||||
|
||||
echo "Installing Firefox..."
|
||||
sudo apt install -y firefox
|
||||
|
||||
# Verify installation
|
||||
if command -v firefox &> /dev/null; then
|
||||
echo "Firefox installed successfully!"
|
||||
else
|
||||
echo "Firefox installation failed."
|
||||
exit 1
|
||||
fi
|
Loading…
Reference in New Issue