File size: 291 Bytes
990f10a
 
 
 
69fe7bd
 
0c01de4
f5b28ac
69fe7bd
 
0c01de4
 
7e809b7
7f2b6c0
0c01de4
 
69fe7bd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env bash

set -e

echo "ubuntu" | sudo -S su user

# Start elasticsearch
sudo /etc/init.d/elasticsearch start
echo "Waiting for elasticsearch to start"
sleep 15

# Load data
pip3 install datasets
python3.9 /app/load_data.py &

# Start argilla
uvicorn argilla:app --host "0.0.0.0"