-
Notifications
You must be signed in to change notification settings - Fork 0
Dev server setup
You can setup dev server to check changes and do some playtest
Note
You need to have a public ipv6 connection or public ipv4 address and disable firewall for port 25565
if you wish to share your server
Just open the project using IntelliJ IDEA
You can use built-in run configuration to build/start/test server
You can setup the local server without IDE
Note
You need to have a public ipv6 connection or public ipv4 address and disable firewall for port 25565
if you wish to share your server
You also need to install docker and JDK 21
docker compose up -d
./gradlew assemble
docker build -t server .
docker run --network host server
Now you(and anybody who can access your PC via network) can connect to port 25565
at your LAN/WAN/localhost ip
You can setup the GitHub Codespaces and use it as local dev server
Please follow official documentation on how to connect to codespace:
You can setup Gitpod workspace that can act as the SSH server
- Go to Gitpod
- Click on
New Workspace
- Open github branches in a new tab (official or from your fork) and click at branch you wish to test
- Copy browser URL, it should be like
https://github.com/daylifecraft/minigames/tree/feature/gitpod
- Return to your Gitpod tab then past and confirm URL
- Select any other options to your liking
- Click
continue
and wait for 3-5 minutes - Go back to your workspaces, and select
Connect via SSH
options from dropdown menu - Choose
Access Token
and copy the SSH commandssh '...@...gitpod.io'
- Add
-L 25565:127.0.0.1:25565
to your command afterssh
, the complete command should bessh -L 25565:127.0.0.1:25565 '...@...gitpod.io'
- Execute command in terminal and share it to your team members
- Now you can connect to dev server via address
localhost:25565