Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We're using the WSGIServer from gevent in order to integrate websockets easily, but that server is not talking fcgi. Luckily we could skip lighttpd altogether using the generic webservice type on the Tool Labs grid engine.
- Loading branch information
1 parent
3ab18f6
commit 7ef65ba
Showing
8 changed files
with
23 additions
and
35 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#!/bin/sh | ||
export APP_BASE_HREF=https://tools.wmflabs.org/ukbot/ | ||
. ENV/bin/activate | ||
python -m src.server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# This file is used by toollabs infrastructure. | ||
# Please do not edit manually at this time. | ||
backend: gridengine | ||
version: 2 | ||
web: generic | ||
web::extra_args: /data/project/ukbot/server.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ | |
<body> | ||
<div class="container"> | ||
<h1> | ||
<a href="/">UKB</a> | ||
<a href="./">UKB</a> | ||
@ Toolforge | ||
</h1> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters