Skip to content

Dev Container Features for Roblox development using Rojo

License

Notifications You must be signed in to change notification settings

RyanLua/features

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rojo Dev Container Feature

Open in GitHub Codespaces

A dev container feature that installs Rojo and optionally Rokit, Aftman, or Foreman for toolchain management. Useful for developing Roblox experiences using dev container supported tools such as GitHub Codespaces.

Known issues and remarks

A device running Roblox Studio is needed to sync

You need a device that can run Roblox Studio to be able to sync code and publish places. This just allows you to use any device to edit code and a bit more. You can still build models and places using Rojo as well as download them.

Rojo can't install the Roblox Studio plugin

Rojo can't install the Rojo plugin for Roblox Studio since it is running in the cloud and does not have access to your device. You will to install it manually from GitHub or the Roblox Creator Store.

Port needs to be 80 on Roblox Studio

Because of how GitHub Codespaces works, if you want to sync to Roblox Studio in a codespace, you need to set the port to 80 in the plugin even though it shows it is forwarded as 34872.

You also need to remove the https:// at the beginning and the / end of the forwarded address. https://your-project-34872.app.github.dev/ turns into your-project-34872.app.github.dev.

Usage

To use this feature, add the following to your devcontainer.json file:

"features": {
	"ghcr.io/ryanlua/features/rojo:latest": {
		"version": "latest",
		"toolchainManager": "rokit"
	}
}

Learn more about this feature by seeing the feature's README.

Template

For a Roblox template using this feature, see https://github.com/RyanLua/templates.