Files
dify/.devcontainer

Development with devcontainer

This project includes a devcontainer configuration that allows you to open the project in a container with a fully configured development environment. The create hook installs workspace JavaScript dependencies and uv; the start hook synchronizes backend dependencies. Follow the backend setup and frontend guide to configure environment files and start services.

GitHub Codespaces

Open in GitHub Codespaces

you can simply click the button above to open this project in GitHub Codespaces.

For more info, check out the GitHub documentation.

VS Code Dev Containers

Open in Dev Containers

if you have VS Code installed, you can click the button above to open this project in VS Code Dev Containers.

You can learn more in the Dev Containers documentation.

Troubleshooting

if you see such error message when you open this project in codespaces: Alt text

a simple workaround is change /signin endpoint into another one, then login with GitHub account and close the tab, then change it back to /signin endpoint. Then all things will be fine. The reason is signin endpoint is not allowed in codespaces, details can be found here