File tree 6 files changed +20
-6
lines changed 6 files changed +20
-6
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ docker-compose up
60
60
61
61
Note: ` latest ` image will be downloaded and started.
62
62
63
- Visit ` http://localhost:8000 ` after the build is complete.
63
+ Visit ` http://localhost:8000/configurator ` after the build is complete.
64
64
65
65
To learn more check out [ Jitsu deployment documentation] ( https://jitsu.com/docs/deployment/ ) :
66
66
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ const (
86
86
lastUpdatedField = "_lastUpdated"
87
87
88
88
telemetryCollection = "telemetry"
89
- telemetryGlobalID = "global "
89
+ telemetryGlobalID = "global_configuration "
90
90
91
91
LastUpdatedLayout = "2006-01-02T15:04:05.000Z"
92
92
)
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ export const UserSettings: React.FC<Props> = () => {
92
92
}
93
93
}
94
94
const getTelemetryStatus = async ( ) => {
95
- const response = await services . backendApiClient . get ( '/configurations/telemetry?id=global ' ) ;
95
+ const response = await services . backendApiClient . get ( '/configurations/telemetry?id=global_configuration ' ) ;
96
96
setIsTelemetryEnabled ( ! response [ 'disabled' ] ?. [ 'usage' ] ) ;
97
97
}
98
98
Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ export class BackendUserService implements UserService {
258
258
}
259
259
260
260
async changeTelemetrySettings ( newSettings : TelemetrySettings ) : Promise < void > {
261
- await this . backendApi . post ( '/configurations/telemetry?id=global ' , { disabled : { usage : ! newSettings . isTelemetryEnabled } } ) ;
261
+ await this . backendApi . post ( '/configurations/telemetry?id=global_configuration ' , { disabled : { usage : ! newSettings . isTelemetryEnabled } } ) ;
262
262
}
263
263
264
264
//isn't supported (without google authorization)
Original file line number Diff line number Diff line change 1
- cd configurator/backend && rm -rf build && make all GOBUILD_PREFIX=' GOOS=linux GOARCH=amd64' && \
1
+ GO_BUILD_PARAMS=' GOOS=linux GOARCH=amd64'
2
+
3
+ if [ " $1 " == ' arm' ]
4
+ then
5
+ GO_BUILD_PARAMS=' GOOS=linux GOARCH=arm64'
6
+ fi
7
+
8
+ cd configurator/backend && rm -rf build && make all GOBUILD_PREFIX=" $GO_BUILD_PARAMS " && \
2
9
cd ../frontend/ && rm -rf build && yarn clean && yarn install && CI=false NODE_ENV=production ANALYTICS_KEYS=' {"eventnative": "js.gpon6lmpwquappfl07tuq.ka5sxhsm08cmblny72tevi"}' yarn build && \
3
10
cd ../../ && \
4
11
docker build -t jitsucom/configurator -f configurator-local.Dockerfile --build-arg dhid=jitsucom .
Original file line number Diff line number Diff line change
1
+ GO_BUILD_PARAMS=' GOOS=linux GOARCH=amd64'
2
+
3
+ if [ " $1 " == ' arm' ]
4
+ then
5
+ GO_BUILD_PARAMS=' GOOS=linux GOARCH=arm64'
6
+ fi
7
+
1
8
cd javascript-sdk/ && yarn clean && yarn install && yarn build && \
2
- cd ../server && make all GOBUILD_PREFIX=' GOOS=linux GOARCH=amd64 ' && \
9
+ cd ../server && make all GOBUILD_PREFIX=" $GO_BUILD_PARAMS " && \
3
10
cd ../ && docker build -t jitsucom/server -f server-local.Dockerfile --build-arg dhid=jitsucom .
You can’t perform that action at this time.
0 commit comments