29 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
195a11e07d Merge pull request 'Added pillow to handle the thumbnails for the games' (#25) from add_req_pillow into master
Reviewed-on: #25
2025-04-15 20:57:09 +02:00
35d8549a38
Added pillow to handle the thumbnails for the games
Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
2025-04-16 00:25:35 +05:30
d6eb2a1b25 Merge pull request 'containerize' (#20) from calm-steam/GameServerSupervisor:containerize into master
Reviewed-on: #20
2025-03-05 16:16:04 +01:00
0b622ce3ea
add step to sync host 2025-02-23 14:45:44 +05:30
bfac5a22eb
modify readme 2025-02-19 10:28:54 +05:30
2e114fef44
change variable name 2025-02-18 23:58:19 +05:30
e16a565c0c
add Dockerfile 2025-02-18 23:57:08 +05:30
8251fecf9a Merge pull request 'unit-testing' (#19) from calm-steam/GameServerSupervisor:unit-testing into master
Reviewed-on: #19
Reviewed-by: Pratyush Desai <pratyush.desai@liberta.casa>
2025-02-18 19:07:37 +01:00
07c1a2d8d6
fix readme 2025-02-16 16:06:06 +05:30
9f82e689a1
modify readme 2025-02-16 16:05:58 +05:30
9cec170f62
add webpanel/test_models.py as example 2025-02-16 16:05:47 +05:30
98b9574c67
delete webpanel/tests.py 2025-02-16 16:05:31 +05:30
7dc24f1456
remove docker reference in readme 2025-02-16 16:04:51 +05:30
faedfc1b0a Merge pull request 'Rm references to "docker"' (#16) from cleanup/docker_references into master
Reviewed-on: #16
2025-02-09 18:17:43 +01:00
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
d39e559d24 signed commits (#9) 2025-02-07 01:37:34 +01:00
d4217bb983
substitute python3 for python 2025-02-06 10:25:57 +05:30
8b44b8a952
add prerequisites 2025-02-06 10:25:23 +05:30
0f042f78ea Merge pull request 'Switch from docker to podman' (#5) from podman into master
Reviewed-on: #5
2025-02-01 02:51:22 +01:00
bb94040d33
fix dumb shit caused by dumb brain
smh

Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
2025-02-01 07:15:32 +05:30
81787bee84
Fix sync_status & remove 'docker' references
sync_status: fixing path to podman.sock
fix several strings and func names with 'docker' in them

Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
2025-02-01 07:02:09 +05:30
c944c58f22
Switch from docker to podman
while it works to launch, stop and remove containers,
fixing strings and func and var names is yet to be done

Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
2025-02-01 06:06:22 +05:30
3b5f836bab Merge pull request 'fix readme steps' (#2) from fix/setup_steps into master
Reviewed-on: #2
2025-01-24 21:40:48 +01:00
5247ee458d
fix readme steps
gotta migrate the auth model before one can attempt to create
a superuser.

Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
2025-01-25 01:57:07 +05:30
53a59f4f27
Add setup steps
Add setup steps in readme. and include stray changes from a template smh

Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
2025-01-21 03:21:05 +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