-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Adding support to run on Github Codespaces for local developmen…
…t and testing. Signed-off-by: Alex Yong <alexjyong@gmail.com>
- Loading branch information
Showing
3 changed files
with
54 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,9 @@ | ||
{ | ||
"name": "RevoltChat", | ||
"postCreateCommand": "bash firefox.sh", | ||
"forwardPorts": [6080], | ||
"features": { | ||
"ghcr.io/devcontainers/features/desktop-lite:1": {} | ||
} | ||
} | ||
|
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
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,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 |