This is an IHP template configured to run on GitHub Codespaces and VSCode Devcontainers.
- Create a repository from this template.
- Run it in Codespaces / Devcontainers.
- Wait for the initial setup to complete. This will take a few minutes and will use two bash windows, one of which will close when it's done. The other should be a blank terminal when it's done.
- Run
devenv up
to start the server. - Have fun with IHP! :)
To add support to an existing IHP project, simply copy the devcontainer configuration to your project,
placing it in .devcontainer/devcontainer.json
. Then follow the above instructions.
Sometimes GitHub updates Codespaces or their base container image, which may break this devcontainer configuration. Please check here regularly for
updates and post an issue if you have problems running a Codespace / Devcontainer. To update, simply copy the new devcontainer.json
to your project, and then rebuild the container or recreate your Codespace / Devcontainer entirely.
See also ihp.digitallyinduced.com