Commit 24222b0b authored by Jérome Perrin's avatar Jérome Perrin

theia: include more fonts

parent 6cae6ab5
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
[instance] [instance]
filename = instance.cfg.in filename = instance.cfg.in
md5sum = f95354d4af4a78ad7fd11ebc9281ed19 md5sum = a92a80a92afcf3fab6c0c25a506b87cf
[yarn.lock] [yarn.lock]
filename = yarn.lock filename = yarn.lock
......
...@@ -62,6 +62,12 @@ template = inline: ...@@ -62,6 +62,12 @@ template = inline:
proxy /file-upload $${theia-instance:base-url} { proxy /file-upload $${theia-instance:base-url} {
websocket websocket
} }
fonts/source-code-pro/* {
root ${source-code-pro-fonts:location}
}
fonts/jetbrains-mono/* {
root ${jetbrains-mono-fonts:location}
}
basicauth $${frontend-instance-password:username} $${frontend-instance-password:passwd} { basicauth $${frontend-instance-password:username} $${frontend-instance-password:passwd} {
realm "Theia" realm "Theia"
/ /
......
...@@ -11,6 +11,7 @@ extends = ...@@ -11,6 +11,7 @@ extends =
../../component/curl/buildout.cfg ../../component/curl/buildout.cfg
../../component/coreutils/buildout.cfg ../../component/coreutils/buildout.cfg
../../component/java-jdk/buildout.cfg ../../component/java-jdk/buildout.cfg
../../component/fonts/buildout.cfg
../../stack/slapos.cfg ../../stack/slapos.cfg
../../stack/monitor/buildout.cfg ../../stack/monitor/buildout.cfg
../../component/defaults.cfg ../../component/defaults.cfg
......
...@@ -81,6 +81,9 @@ class TestTheia(SlapOSInstanceTestCase): ...@@ -81,6 +81,9 @@ class TestTheia(SlapOSInstanceTestCase):
self.assertEqual(requests.codes.ok, resp.status_code) self.assertEqual(requests.codes.ok, resp.status_code)
self.assertTrue(resp.raw) self.assertTrue(resp.raw)
# there are fonts
TODO
def test_theia_slapos(self): def test_theia_slapos(self):
# Make sure we can use the shell and the integrated slapos command # Make sure we can use the shell and the integrated slapos command
process = pexpect.spawnu( process = pexpect.spawnu(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment