5 Commits

Author SHA1 Message Date
88f5614cd4
Fix launch logic
Have cleaned up redundant logic used for testing
it ruined my life today.
Port mapping works but it's simply picking it up from
a single integer field. We might have to expand on this
logic for multi port mappings per instance.

Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
2025-04-16 21:01:58 +05:30
77ab980fd4
Create Frontend
Create views and templates to render the views for a list of games
And for it to show if server is running for the game selected.

Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
2025-04-16 14:30:51 +05:30
a13df3aea4
Rm references to "docker"
Closes #13
Required a change in name of two fields in the Server model.

Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
2025-02-09 22:35:24 +05:30
10592cb2d2
Configure and test Game Server Launch
Connected to hld2m-server successfully. Hardcoded `network_mode='host'`
Which isn't viable moving forwards.

Current Status:
Frontend : Active Servers show
Backend: Have configured admin.py utils.py and models.py
to grant us the ability to launch a docker image with a command
and tested client connection.
Server Online status works
launch, stop, remove (with force stop) works.

Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
2025-01-20 22:42:01 +05:30
5da520bc9d
Initial Commit
Base Functionality added. Adding a Server with
the image port  ip and other params specified
will spawn a container and one can manage the
lifecycle in the admin panel and the game server
detail view updates based on container status.

Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
2025-01-20 05:02:25 +05:30