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

Mode for no config file/all defaults for testing #47

Open
hyperrealgopher opened this issue May 30, 2021 · 4 comments
Open

Mode for no config file/all defaults for testing #47

hyperrealgopher opened this issue May 30, 2021 · 4 comments

Comments

@hyperrealgopher
Copy link

Feature request.

It would be great if I could arbitrarily launch spacecookie when I build random gopherholes as a test and I just want to see what the product looks like after I build it, without having to create a config file to test locally.

I want to, for testing purposes, be able to use spacecookie without specifying a config file.

@sternenseemann
Copy link
Owner

I guess root should default to ./. then, but what should port default to? It would be 70 of course, but that is not helpful in your usecase because it'd require root privileges.

@hyperrealgopher
Copy link
Author

hyperrealgopher commented May 30, 2021 via email

@sternenseemann
Copy link
Owner

sternenseemann commented May 31, 2021

Contrary to 8080 with http, 7070 has another protocol than gopher assigned to it, so it makes for a bad default. Maybe the solution is to allow specifying a subset of the configuration via command line flags.

@hyperrealgopher
Copy link
Author

hyperrealgopher commented Jun 1, 2021

I don't think it'd be bad to be some preconfigured port number for testing and an option to set a flag too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants