https://github.com/derroylo/webdev-tool
A CLI tool for devcontainer development environments that are using PHP mainly as programming language
https://github.com/derroylo/webdev-tool
cde devcontainer devcontainer-feature php
Last synced: 16 days ago
JSON representation
A CLI tool for devcontainer development environments that are using PHP mainly as programming language
- Host: GitHub
- URL: https://github.com/derroylo/webdev-tool
- Owner: Derroylo
- License: gpl-3.0
- Created: 2024-11-01T15:50:53.000Z (over 1 year ago)
- Default Branch: 0.3
- Last Pushed: 2026-03-30T08:31:43.000Z (2 months ago)
- Last Synced: 2026-03-30T10:26:27.056Z (2 months ago)
- Topics: cde, devcontainer, devcontainer-feature, php
- Language: C#
- Homepage:
- Size: 338 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# CLI Tool for DevContainer
## Purpose
This CLI Tool aims to make it easier to use devcontainer for web development.
## Documentation
The documentation can be found under [WebDev Documentation](https://derroylo.github.io).
## Installation via installer script
```
sudo bash <(curl -s https://raw.githubusercontent.com/Derroylo/webdev-tool/main/install_webdev.sh)
```
## Manual installation in Linux or WSL2
Add the microsoft repository as the official ubuntu package manager doesn´t contain the dotnet runtime in version 9
```
wget https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb
sudo apt update
```
Install the dotnet runtime
```
sudo apt-get install -y dotnet-runtime-9.0
```
Download the latest release of this tool
```
curl -s https://api.github.com/repos/Derroylo/webdev-tool/releases/latest | grep "browser_download_url.*zip" | cut -d : -f 2,3 | tr -d \" | wget -qi -
```
Unzip the downloaded file, create a folder in your home directory and add a symlink to the bin folder
```
mkdir ~/webdev
unzip webdev-tool.zip -d ~/webdev/
rm webdev-tool.zip
chmod +x $HOME/webdev/webdev.sh
sudo ln -s $HOME/webdev/webdev.sh /usr/local/bin/webdev
```
On some system configurations the folder /usr/local/bin doesn´t exists, so we need to create it to follow linux best practices.
```
sudo mkdir -p /usr/local/bin
sudo chown root:root /usr/local/bin
sudo chmod 755 /usr/local/bin
```
If everything worked, then you should be able to use the `webdev` command in the terminal.
## Issues, Feature requests etc.
Create an issue if you encounter problems with this tool or have suggestions on what to add next.