switched port field to a JSONField
adds a helper function to display server port mapping in admin
launching a container will map the ports appropriately
Instead of typing json to map ports we have a widget
replaced by such text fields. where one can + button to add or
- to remove
i.e.
[container_port/proto]:[host_port]
At first port was an IntegerField.
Hence i added a manual migration which is the latest one
to get them to be default:port(old value)
Signed-off-by: Pratyush Desai <pratyush.desai@liberta.casa>
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>
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>