CodeClimbersIO / cli

The cli for the project
MIT License
5 stars 6 forks source link

CLI: configure hostfile on start #35

Closed rphovley closed 2 days ago

rphovley commented 1 month ago

We want for a user to be able to view their data by going to codeclimbers.local

Add an entry to their hostfile, if it doesn't already exist, when the user runs codeclimbers start, that adds the entry to point codeclimbers.local to localhost:14400

Idrinth commented 1 month ago

This will require administrator access to their machines, may look a bit odd.

rphovley commented 1 month ago

That is true. Perhaps this is something we suggest through the CLI on first start?

Tanner-Scadden commented 1 month ago

Are there plans to have an initialize script made? If so, you could require it to be ran as an admin and do it then.