Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go full wizard 🧙 #33

Open
4 of 10 tasks
heff opened this issue Aug 22, 2023 · 1 comment
Open
4 of 10 tasks

Go full wizard 🧙 #33

heff opened this issue Aug 22, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@heff
Copy link
Contributor

heff commented Aug 22, 2023

Taking inspiration from Sentry's setup tool, it would be great to take the init process a step further and do more for the user.

  • npx command does npm install
  • Add video.d.ts to tsconfig.json
  • Add withNextVideo to next.config.js
  • Add next-video sync -w to dev script in package.json
  • Open Mux signup page
  • Open access token creation page
  • Prompt for token details and add to .env.local
  • Add example video file to /videos to test the setup
  • Add a demo page to the project to verify it's all working
  • Create a "Manual Setup" page and direct people there if they're not comfortable with the wizard, or if something goes wrong.

It would be more magic if we could generate an access token without going to the Mux dashboard. I don't think we should try to get around signup through the dashboard.

@heff
Copy link
Contributor Author

heff commented Sep 8, 2023

We should add messaging for what to do next at the end of wizard, otherwise it's an awkward drop off at the end of it.

Currently the next step is signing up and creating the .env.local file, which is an important one not to miss.

@luwes luwes added the enhancement New feature or request label Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants