Skip to content

[ENHANCEMENT] Simplify server creation #1

@RocketSmash9000

Description

@RocketSmash9000

Right now the way to create a server is pretty hard, as you not only need Go, but you also need all the dependencies (and to edit the .env file. This requires a degree of technical knowledge some (if not most) users might not have.

I propose the following:

  • Issue a precompiled version of comS
  • The precompiled version, when first ran, will ask for environment variables
  • It can generate the server's keypair automatically
  • It will save said variables inside an encrypted file (like ~/.config/zync-comS/.env)
  • To edit the variables, it can be ran by doing coms --envedit or passing a command on the CLI (f/when it has one). It can, for example, open nano in the terminal to edit the decrypted .env file
  • Said precompiled version requires less effort to get going, as it contains everything to run. No need to install dependencies
  • People can still build from source

I think this is the best approach to appeal to the largest community possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions