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 users.json file permanent #10

Closed
wants to merge 1 commit into from

Conversation

tiennou
Copy link

@tiennou tiennou commented Sep 27, 2024

Instead of having the setup potentially copy over the example user file, just ask the user to set it up himself. This stops mistakes from happening with --force.

Also mount the file into the container instead of copying it, so that an update just needs a container restart and not a rebuild. Hence, remove the rebuilding from the start script and add it as a developer-intended command to the npm scripts (since the only reason to rebuild would be if the pushStats scripts is edited).

Instead of having the setup potentially copy over the example user file,
just ask the user to set it up himself. This stops mistakes from
happening with `--force`.

Also mount the file into the container instead of copying it, so that an
update just needs a container restart and not a rebuild. Hence, remove
the rebuilding from the start script and add it as a developer-intended
command to the npm scripts (since the only reason to rebuild would be if
the pushStats scripts is edited).
@tiennou tiennou closed this Sep 28, 2024
@tiennou tiennou deleted the fix/permanent-users-file branch September 28, 2024 23:01
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

Successfully merging this pull request may close these issues.

1 participant