You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,3 +5,6 @@ It uploads the folder as a TAR archive to a Google Cloud function, which creates
5
5
The URL of the private sandbox is returned to the CLI, which prints the URL and asks the candidate to send us an email containing the URL.
6
6
7
7
The server can be found in the `server/` folder and is deployed manually [as this Google Cloud Function](https://console.cloud.google.com/functions/details/us-central1/submit-coding-exercise?project=sourcegraph-dev) by simply copy-pasting the built JavaScript into the web UI.
8
+
9
+
The server is authenticated through an environment variable `CODESANDBOX_TOKEN`. This is a JWT that can be obtained through the Codesandbox CLI (`npm i -g codesandbox`) using `codesandbox token` (after logging in once with `codesandbox login`). It must be generated for an admin member of our workspace, so it can create sandboxes.
10
+
**Important**: This token expires after one month and needs to be renewed manually. There is currently no workaround for this.
0 commit comments