@@ -100,19 +100,21 @@ Into your Clever-Cloud dashboard:
100
100
- Name it, choose your datacenter
101
101
- You don't neet any "Add-On", unless you want to provide some Emotes to you MovieNight instance
102
102
- 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
113
113
- Turn on the TCP redirection
114
114
- Try run your MovieNight instance
115
115
116
+ Here is an example of the Clever-Cloud app Evironement Variables you can use after fex customizations:
117
+
116
118
``` text
117
119
CC_GO_BUILD_TOOL="gobuild"
118
120
CC_GO_PKG="github.com/zorchenhimer/MovieNight"
0 commit comments