Hady Rashwan
commited on
Commit
·
abf50fb
1
Parent(s):
70a883e
add comment for the local run command
Browse files
deno.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
-
// import { load } from "https://deno.land/std/dotenv/mod.ts";
|
2 |
import { createClient } from "https://esm.sh/@supabase/[email protected]";
|
3 |
|
4 |
-
//
|
5 |
-
//
|
|
|
6 |
|
7 |
// Get API keys from environment variables
|
8 |
const WEATHER_API_KEY = Deno.env.get("OPENWEATHERMAP_API_KEY");
|
|
|
|
|
1 |
import { createClient } from "https://esm.sh/@supabase/[email protected]";
|
2 |
|
3 |
+
// Run local command
|
4 |
+
// deno run --unstable-cron --allow-env --allow-net deno.ts
|
5 |
+
// make sure to set the envs in .env
|
6 |
|
7 |
// Get API keys from environment variables
|
8 |
const WEATHER_API_KEY = Deno.env.get("OPENWEATHERMAP_API_KEY");
|