Open2
Bun + Remix
npm create cloudflare@latest touhou-karaoke-remix -- --framework=remix
Need to install the following packages:
create-cloudflare@2.6.2
Ok to proceed? (y) y
using create-cloudflare version 2.6.2
╭ Create an application with Cloudflare Step 1 of 3
│
├ In which directory do you want to create your application?
│ dir ./touhou-karaoke-remix
│
├ What type of application do you want to create?
│ type Website or web app
│
├ Which development framework do you want to use?
│ framework Remix
│
╰ Continue with Remix via `npx create-remix@2.1.0 touhou-karaoke-remix --template https://github.com/remix-run/remix/tree/main/templates/cloudflare-pages`
Need to install the following packages:
create-remix@2.1.0
Ok to proceed? (y) y
remix v2.1.0 💿 Let's build a better website...
◼ Directory: Using touhou-karaoke-remix as project directory
◼ Template: Using https://github.com/remix-run/remix/tree/main/templates/cloudflare-pages...
✔ Template copied
git Initialize a new git repository?
Yes
deps Install dependencies with npm?
Yes
✔ Dependencies installed
✔ Git initialized
done That's it!
Enter your project directory using cd ./touhou-karaoke-remix
Check out README.md for development and deploy instructions.
Join the community at https://rmx.as/discord
╭ Configuring your application for Cloudflare Step 2 of 3
│
├ Adding command scripts for development and deployment
│ added commands to `package.json`
│
├ 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 pages:deploy`
│
├ Logging into Cloudflare checking authentication status
│ not logged in
│
├ Logging into Cloudflare This will open a browser window
│ allowed via `wrangler login`
│
├ Selecting Cloudflare account retrieving accounts
│ account Xxxxxxx's Account
│
├ Creating Pages project
│ created via `npx wrangler pages project create touhou-karaoke-remix --production-branch master`
│
├ Verifying Pages project
│ verified project is ready for deployment
│
├ Deploying your application
│ deployed via `npm run pages\:deploy`
│
├ SUCCESS View your deployed application at https://touhou-karaoke-remix.pages.dev
│
│ Navigate to the new directory cd touhou-karaoke-remix
│ Run the development server npm run dev
│ Deploy your application npm run pages:deploy
│ Read the documentation https://developers.cloudflare.com/pages
│ Stuck? Join us at https://discord.gg/cloudflaredev
│
├ Waiting for DNS to propagate
│ DNS propagation complete.
│
├ Waiting for deployment to become available
│ deployment is ready at: https://touhou-karaoke-remix.pages.dev
│
├ Opening browser
│
╰ See you again soon!
$ rm -rf node_modules/
$ rm package-lock.json
$ bun install
$ bun run dev