CHG add descriptions to theia image and tags in seed
@@ -257,25 +257,26 @@ def seed():
base_image = TheiaImage(
image="registry.digitalocean.com/anubis/theia-base",
title="Python IDE",
+ description="Python IDE",
icon="devicon-python-plain",
public=True,
)
base_tag38 = TheiaImageTag(
tag="python-3.8",
title="Python 3.8",
- description="",
+ description="Python IDE",
image=base_image,
)
base_tag39 = TheiaImageTag(
tag="python-3.9",
title="Python 3.9",
- description="",
+ description="Python IDE",
image=base_image,
)
base_tag310 = TheiaImageTag(
tag="python-3.10",
title="Python 3.10",
- description="",
+ description="Python IDE",
image=base_image,
)
db.session.add_all([base_tag38, base_tag39, base_tag310])
@@ -283,12 +284,14 @@ def seed():
xv6_image = TheiaImage(
image="registry.digitalocean.com/anubis/theia-xv6",
title="C/C++ IDE",
+ description="C/C++ IDE",
icon="devicon-cplusplus-plain",
public=True,
)
admin_image = TheiaImage(
image="registry.digitalocean.com/anubis/theia-admin",
title="theia-admin",
+ description="Admin IDE",
icon="devicon-python-plain",
public=False,
)
