20 lines
656 B
Bash
Executable File
20 lines
656 B
Bash
Executable File
#!/usr/bin/env bash
|
|
export PATH="/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/Applications/Docker.app/Contents/Resources/bin:/usr/bin:/bin:/usr/sbin:/sbin"
|
|
cd /Users/aidev/dev/exAichatbot_agent
|
|
|
|
git config core.autocrlf false
|
|
git config core.eol lf
|
|
|
|
python3 - << 'PYEOF'
|
|
import os
|
|
for d in ['kakaoChatbotSkill-chatbot2.0-agent','chatbotApi-chatbot2.0-agent']:
|
|
f = d+'/gradlew'
|
|
if os.path.exists(f):
|
|
data=open(f,'rb').read().replace(b'\r\n',b'\n').replace(b'\r',b'\n')
|
|
open(f,'wb').write(data)
|
|
os.chmod(f,0o755)
|
|
print('fixed:', f)
|
|
PYEOF
|
|
|
|
bash server-dev/start-all-server.sh --no-pull --no-push --skip-desktop
|