forked from svenvc/pharo-server-tools
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrun.st.m4
36 lines (28 loc) · 1020 Bytes
/
run.st.m4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
(NeoConsoleTranscript onFileNamed: 'server-{1}.log') install.
Transcript
cr;
show: 'Starting '; show: (NeoConsoleTelnetServer startOn: _TELNET_PORT_); cr;
"show: 'Starting '; show: (NeoConsoleMetricDelegate startOn: _METRICS_PORT_); cr;"
flush.
"_SERVICE_NAME_ server application script"
Smalltalk logFileName: 'error.log'. "Default is 'PharoDebug.log'"
ZTimezone
reloadAll ;
current: (ZTimezone id: 'Europe/Amsterdam').
"Set log level to TRACE and print debug stacks at first install."
OGLog
level: #TRACE ;
printDebugStack: true.
"***** Hotfixes start here:"
"Hotfix: Increase timeout for REPL (telnet console)."
NeoConsoleTelnetServer compile: 'timeout
^ 5 * 60'.
"End hotfixes *****"
"Start Synthesist web application."
_SERVICE_NAME_Domain default startProductionWithSettings: (ESApplicationSettings new
webPort: _PROXY_PORT_ ;
databaseName: '_SERVICE_NAME_' ;
databaseUser: '_SERVICE_NAME_';
databasePassword: '_SERVICE_NAME_' ;
yourself).
_SERVICE_NAME_Domain z_migrate.