-
Notifications
You must be signed in to change notification settings - Fork 244
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
Update entrypoint and readme to improve quick-start. #451
Conversation
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. |
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
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
Also please cleanup the commit history. |
Closing as this is now stale. Feel free to take it over! |
Resolves #450.
Should make the quick start copy-paste snippet "just work".