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

Initial Setup Wizard #1125

Open
KernelDeimos opened this issue Feb 26, 2025 · 0 comments
Open

Initial Setup Wizard #1125

KernelDeimos opened this issue Feb 26, 2025 · 0 comments
Labels
good contribution Issues that benefit all Puter users, and can be completed in one or two weekends

Comments

@KernelDeimos
Copy link
Contributor

KernelDeimos commented Feb 26, 2025

Setup Wizard

When you launch Puter's backend the first time, the configuration is optimized for local development. For other setups, it is often essential to modify configuration, which for most probably involves going through GitHub issues and seeing what problems others ran into before you. A setup wizard will help deployers and contributors get started with Puter.

A setup wizard should help the user through the following:

  • Configure subdomain behavior
    • Some hosting configurations don't allow subdomain. In these environments, the experimental_no_subdomain flag should be set. This option should be an opt-in with a warning about host-header injection.
  • Configure domain name, or nip.io mode
    • For ip access, the best way to do it is via a service like nip.io because Puter is more secure with multiple origins. For domain access, the deployer should configure a domain.
  • Set a password for the admin user
    • Currently, this shows up in the development console. This isn't great for deployers using Docker, because they might not be able to see the output.

Recommended Procedure

  • Try a frontend issue labelled "good first issue" (optional)
  • Try a backend issue labelled "good first issue" (optional)
  • first step for backend: Add a new service called SetupService.js to the selfhosted module
  • first step for frontend: Talk to Puter users on Discord or Reddit about design ideas; see what people like

Instructions & Support

Relevant Documentation

Relevant Modules

  • Web Module - This is where Puter's web server is initialized. This may need modification to support displaying the setup wizard when the user navigates to Puter in their browser.
  • Self-Hosted Module - This module creates the default user (DefaultUserService).
  • Puter Homepage Service - This service from the legacy core module might also need to be updated
  • Template Module - Provides a useful reference for how modules and services work
@KernelDeimos KernelDeimos added the good contribution Issues that benefit all Puter users, and can be completed in one or two weekends label Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good contribution Issues that benefit all Puter users, and can be completed in one or two weekends
Projects
None yet
Development

No branches or pull requests

1 participant