Skip to content

Commit 622e05b

Browse files
committed
Better setup script
1 parent b6ff91c commit 622e05b

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

run_lovelace_engine.bash

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
#!/bin/bash
22

3-
docker build -t lovelace-engine .
4-
docker run -d -v /var/run/docker.sock:/var/run/docker.sock -p 14714:14714 lovelace-engine
5-
docker ps -a
3+
rm -f solutions && \
4+
rm -rf lovelace-solutions/
65

7-
git clone https://github.com/project-lovelace/lovelace-solutions.git
8-
ln -s lovelace-solutions/python/ solutions
6+
docker build -t lovelace-engine . && \
7+
docker run -d -v /var/run/docker.sock:/var/run/docker.sock -p 14714:14714 lovelace-engine && \
8+
docker ps -a
99

10+
git clone https://github.com/project-lovelace/lovelace-solutions.git && \
11+
ln -s lovelace-solutions/python/ solutions && \
1012
pip install -r requirements.txt
1113

1214
export LOVELACE_SOLUTIONS_DIR=./lovelace-solutions/

0 commit comments

Comments
 (0)