Spaces:
Running
Running
metadata
title: README
emoji: π
colorFrom: blue
colorTo: red
sdk: static
pinned: false
Want to try out the dev mode on Hugging Face Spaces? Use the "Request to join this org" button to join the waitlist.
WARNING: This feature is still in an alpha stage.
You should expect bugs and instabilities.
If you encounter issues with Spaces dev mode, please report them in the Community tab of this Organization card π€
Spaces Dev Mode (feature preview)
Members of this organization have early access to the new "Dev Mode" feature on Spaces.
About Dev Mode
When the "Dev mode" is enabled on Space, you can connect to it using SSH or VS Code.
You can make changes to your application code, run some debug tools, ...
Changes reflect to your Space after you hit the "Refresh" button.
When you are done, you can persist your changes using git
as you would normally do when developping locally.
How to enable the dev mode
Go to your Space's settings and click on "Enable dev mode".
Limitations
The dev mode is currently not available for static Spaces.
Docker Spaces
Dev mode is supported for Docker Spaces. However, your Space needs to comply with the following rules for the Dev mode to work properly:
- The operating system must be debian-based (Ubuntu, Fedora for ex).
- The Dockerfile must contain a
CMD
instruction for startup.
Checkout Docker's documentation about the CMD
instruction for more details.