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

Make the setup a nicer experience #92

Open
lupinitylabs opened this issue Sep 5, 2024 · 0 comments
Open

Make the setup a nicer experience #92

lupinitylabs opened this issue Sep 5, 2024 · 0 comments

Comments

@lupinitylabs
Copy link
Member

lupinitylabs commented Sep 5, 2024

The setup process could be a lot nicer, and some of it even automated.

One issue has already been addressed in #38, but I think we can take this a lot further:

  • In my case, running php artisan protector:token returned an http server url instead of https. If this is entered in the .env of the client, it will result in an Error retrieving dump from remote server: Status code 301. Found no file to import. error. Since the remote import feature will never work over a http, and we are obviously not following redirects to the https site anyway, we should check the server URL beforehand and give the user instructions on how to fix the issue. Additionally, the protector:token command should never give out a http URL in the first place, if that's not going to work.
  • Consider automating setup over additional API routes, and the server admin could then just approve the keys that were sent in by the client. Once it is approved, an API route on the client could automatically apply the auth token and server URL in a secure manner.
  • The documentation is hard to understand and at times misleading:
    grafik
    These are the .env keys that need to be provided by the server admin. I don't quite understand what unless specified otherwise in your software is supposed to mean?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant