Skip to content

Commit fbc2a3e

Browse files
authored
Merge pull request #202 from zorglube/clever_cloud_doc_update_cleanup
Cleanup Clever Cloud doc
2 parents 07fea8b + 4f1dd39 commit fbc2a3e

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

readme.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -100,19 +100,21 @@ Into your Clever-Cloud dashboard:
100100
- Name it, choose your datacenter
101101
- You don't neet any "Add-On", unless you want to provide some Emotes to you MovieNight instance
102102
- Add thoses environement-variables (expert mode allow you copy past frome this page):
103-
`CC_GO_BUILD_TOOL="gobuild"` Set The build method
104-
`CC_GO_PKG="github.com/zorchenhimer/MovieNight"` Set the `Go` dependencies origin
105-
`CC_PRE_RUN_HOOK="echo \"{\\\"ApprovedEmotes\\\": true, \\\"Bans\\\": [], \\\"LetThemLurk\\\": false, \\\"ListenAddress\\\": \\\":8080\\\", \\\"LogFile\\\": \\\"thelog.log\\\", \\\"LogLevel\\\": \\\"debug\\\", \\\"MaxMessageCount\\\": 300, \\\"NoCache\\\": false, \\\"NewPin\\\": true, \\\"PageTitle\\\": \\\"Movie Night\\\", \\\"RateLimitAuth\\\": 5, \\\"RateLimitChat\\\": 1, \\\"RateLimitColor\\\": 60, \\\"RateLimitDuplicate\\\": 30, \\\"RateLimitNick\\\": 300, \\\"RegenAdminPass\\\": true, \\\"RtmpListenAddress\\\": \\\":4040\\\", \\\"RoomAccess\\\": \\\"pin\\\", \\\"RoomAccessPin\\\": \\\"9999\\\", \\\"StreamKey\\\": \\\"ALongStreamKey\\\", \\\"StreamStats\\\": true, \\\"TitleLength\\\": 50, \\\"WrappedEmotesOnly\\\": true}\" >> /home/bas/go_home/bin/settings.json"` The command that will build a default configuration file `settings.json`
106-
`CC_RUN_COMMAND="${MN_BIN_DIR}/${MN_BIN_NAME} -l ${MN_PORT} -r ${MN_RTMP} -s ${MN_STATIC} -k ${MN_STREAM_KEY}"` The run command
107-
`MN_BIN_DIR="/home/bas/go_home/bin"` The built binary directory
108-
`MN_BIN_NAME="MovieNight"` The name of the runnable bin
109-
`MN_PORT=":8080"` The http port
110-
`MN_RTMP=":4040"` The rtmp port
111-
`MN_STATIC="${APP_HOME}/static"` The static contents dir
112-
`MN_STREAM_KEY="YourStreamKey"` Your secret stream key, you have to change it
103+
- `CC_GO_BUILD_TOOL="gobuild"` Set The build method
104+
- `CC_GO_PKG="github.com/zorchenhimer/MovieNight"` Set the `Go` dependencies origin
105+
- `CC_PRE_RUN_HOOK="echo \"{\\\"ApprovedEmotes\\\": true, \\\"Bans\\\": [], \\\"LetThemLurk\\\": false, \\\"ListenAddress\\\": \\\":8080\\\", \\\"LogFile\\\": \\\"thelog.log\\\", \\\"LogLevel\\\": \\\"debug\\\", \\\"MaxMessageCount\\\": 300, \\\"NoCache\\\": false, \\\"NewPin\\\": true, \\\"PageTitle\\\": \\\"Movie Night\\\", \\\"RateLimitAuth\\\": 5, \\\"RateLimitChat\\\": 1, \\\"RateLimitColor\\\": 60, \\\"RateLimitDuplicate\\\": 30, \\\"RateLimitNick\\\": 300, \\\"RegenAdminPass\\\": true, \\\"RtmpListenAddress\\\": \\\":4040\\\", \\\"RoomAccess\\\": \\\"pin\\\", \\\"RoomAccessPin\\\": \\\"9999\\\", \\\"StreamKey\\\": \\\"ALongStreamKey\\\", \\\"StreamStats\\\": true, \\\"TitleLength\\\": 50, \\\"WrappedEmotesOnly\\\": true}\" >> /home/bas/go_home/bin/settings.json"` The command that will build a default configuration file `settings.json`
106+
- `CC_RUN_COMMAND="${MN_BIN_DIR}/${MN_BIN_NAME} -l ${MN_PORT} -r ${MN_RTMP} -s ${MN_STATIC} -k ${MN_STREAM_KEY}"` The run command
107+
- `MN_BIN_DIR="/home/bas/go_home/bin"` The built binary directory
108+
- `MN_BIN_NAME="MovieNight"` The name of the runnable bin
109+
- `MN_PORT=":8080"` The http port
110+
- `MN_RTMP=":4040"` The rtmp port
111+
- `MN_STATIC="${APP_HOME}/static"` The static contents dir
112+
- `MN_STREAM_KEY="YourStreamKey"` Your secret stream key, you have to change it
113113
- Turn on the TCP redirection
114114
- Try run your MovieNight instance
115115

116+
Here is an example of the Clever-Cloud app Evironement Variables you can use after fex customizations:
117+
116118
```text
117119
CC_GO_BUILD_TOOL="gobuild"
118120
CC_GO_PKG="github.com/zorchenhimer/MovieNight"

0 commit comments

Comments
 (0)