Julian
Julian
Explore posts from servers
RRailway
Created by Julian on 8/13/2024 in #✋|help
Weaviate failing to deploy?
No description
25 replies
CDCloudflare Developers
Created by Julian on 5/5/2024 in #workers-help
How do I view console.log output?
What's the easiest way to do this? And why isn' it on by default? The live logging feature (e.g. wrangler tail) only logs http events.
8 replies
CDCloudflare Developers
Created by Julian on 5/5/2024 in #workers-help
Hello World Worker flow question
Hi here's the truncated output of creating a hello world worker. I had expected with this flow that I'd have a repository named "worker-demo" be created but there isn't one. git is set up properly in my environment I have dozens of other projects around. What do I need to do to get the git part working?
➜ expts npm create cloudflare
using create-cloudflare version 2.21.1

╭ Create an application with Cloudflare Step 1 of 3
│ dir ./worker-demo
│ type "Hello World" Durable Object
│ yes typescript
├ Copying template files
│ updated `package.json`
│ installed via `npm install`
╰ Application created

╭ Configuring your application for Cloudflare Step 2 of 3

├ Installing @cloudflare/workers-types
│ installed via npm

├ Adding latest types to `tsconfig.json`
│ added @cloudflare/workers-types/2023-07-01

├ Retrieving current workerd compatibility date
│ compatibility date 2024-05-02

├ Do you want to use git for version control?
│ yes git

├ Initializing git repo
│ initialized git

├ Committing new files
│ git commit

╰ Application configured

╭ Deploy with Cloudflare Step 3 of 3

├ Do you want to deploy your application?
│ yes deploy via `npm run deploy`

├ Logging into Cloudflare checking authentication status
│ logged in

├ Selecting Cloudflare account retrieving accounts
│ account [email protected]'s Account

├ Deploying your application
│ deployed via `npm run deploy`

├ SUCCESS View your deployed application at https://worker-demo.julian-harris.workers.dev

│ Navigate to the new directory cd worker-demo
│ Run the development server npm run start
│ Deploy your application npm run deploy
│ Read the documentation https://developers.cloudflare.com/workers
│ Stuck? Join us at https://discord.cloudflare.com

└ Waiting for DNS to propagate (192s) .
^C
➜ expts cd worker-demo
➜ worker-demo git:(main) git status
On branch main
nothing to commit, working tree clean
➜ expts npm create cloudflare
using create-cloudflare version 2.21.1

╭ Create an application with Cloudflare Step 1 of 3
│ dir ./worker-demo
│ type "Hello World" Durable Object
│ yes typescript
├ Copying template files
│ updated `package.json`
│ installed via `npm install`
╰ Application created

╭ Configuring your application for Cloudflare Step 2 of 3

├ Installing @cloudflare/workers-types
│ installed via npm

├ Adding latest types to `tsconfig.json`
│ added @cloudflare/workers-types/2023-07-01

├ Retrieving current workerd compatibility date
│ compatibility date 2024-05-02

├ Do you want to use git for version control?
│ yes git

├ Initializing git repo
│ initialized git

├ Committing new files
│ git commit

╰ Application configured

╭ Deploy with Cloudflare Step 3 of 3

├ Do you want to deploy your application?
│ yes deploy via `npm run deploy`

├ Logging into Cloudflare checking authentication status
│ logged in

├ Selecting Cloudflare account retrieving accounts
│ account [email protected]'s Account

├ Deploying your application
│ deployed via `npm run deploy`

├ SUCCESS View your deployed application at https://worker-demo.julian-harris.workers.dev

│ Navigate to the new directory cd worker-demo
│ Run the development server npm run start
│ Deploy your application npm run deploy
│ Read the documentation https://developers.cloudflare.com/workers
│ Stuck? Join us at https://discord.cloudflare.com

└ Waiting for DNS to propagate (192s) .
^C
➜ expts cd worker-demo
➜ worker-demo git:(main) git status
On branch main
nothing to commit, working tree clean
6 replies