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
Set the `POPCORN_API_URL` environment variable to the URL of the Popcorn API. You can get this from the [GPU Mode Discord server](https://discord.gg/gpumode).
22
+
Since we're effectively giving out GPUs for free we rely on either github or discord authentication to prove that you're a real human before you access our service.
23
+
24
+
1. Go to the [GPU Mode Discord server](https://discord.gg/gpumode) and type in `/get-api-url/`
25
+
2. Copy paste that url out `export POPCORN_API_URL="result_of_get_api_url"`
26
+
3. We recommend you authenticate via your Discord as this will guarantee that your name will show up correctly on the leaderboard, you can do this via `popcorn-cli register discord`. However in case this doesn't work for you we also support Github based authentication with `popcorn-cli register github`
27
+
4. To ensure the above worked you can run `cat $HOME/.popcorn.yaml` which should print your client ID which is what will be sent to us on every request
20
28
21
-
Then, you need to be registered to use this app. You can register by running: `popcorn-cli register [discord|github]`. We strongly reccomend using your Discord account to register, as this will match your submissions to your Discord account.
22
-
Once you're registered, there is a file created in your `$HOME` called `.popcorn-cli.yaml` that contains your registration token. This token is sent with each request.
29
+
Sometimes you'll get an error that you're already authenticated despite being unable to submit in which case you can run `popcorn-cli reregister [discord|github]`.
23
30
24
-
If you want to re-register (you can do this any number of times), you can run `popcorn-cli reregister [discord|github]`.
31
+
Set the `POPCORN_API_URL` environment variable to the URL of the Popcorn API. You can get this from the [GPU Mode Discord server](https://discord.gg/gpumode).
32
+
33
+
## Make your first submission
25
34
26
35
After this, you can submit a solution by running:
27
36
@@ -34,3 +43,5 @@ The interactive CLI will guide you through the process of:
0 commit comments