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

Update entrypoint and readme to improve quick-start. #451

Conversation

boweiliu
Copy link

Resolves #450.

Should make the quick start copy-paste snippet "just work".

@boweiliu
Copy link
Author

Hi @Fank any interest in getting this merged?

@@ -53,6 +54,7 @@ sudo docker run -d \
For those new to Docker, here is an explanation of the options:

* `-d` - Run as a daemon ("detached").
* `-it` - Interactive mode.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is so incorrect. -i is interactive and -t allocates a tty.

```

To detach and return to outside docker, use Ctrl-P + CTRL-Q.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are sure this is not shell depended?

@@ -21,7 +21,8 @@ fi

if [[ ! -f $CONFIG/server-settings.json ]]; then
# Copy default settings if server-settings.json doesn't exist
cp /opt/factorio/data/server-settings.example.json "$CONFIG/server-settings.json"
# edit the default visibility setting from public: true to public: false
cat /opt/factorio/data/server-settings.example.json | sed 's/ "public": true/ "public": false/' > "$CONFIG/server-settings.json"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use jq for this

@SuperSandro2000
Copy link
Member

Also please cleanup the commit history.

@boweiliu
Copy link
Author

Closing as this is now stale. Feel free to take it over!

@boweiliu boweiliu closed this Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants