Commit 0119f59 1 parent 7ea9d93 commit 0119f59 Copy full SHA for 0119f59
File tree 2 files changed +13
-0
lines changed
2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
+
2
3
chmod +x /workspace/comfystream/docker/entrypoint.sh
3
4
cd /workspace/comfystream
4
5
6
+ # Install Comfystream in editable mode.
7
+ /workspace/comfystream/docker/entrypoint.sh --editable
8
+
9
+ # Create a symlink to the entrypoint script.
5
10
echo ' alias prepare_examples="/workspace/comfystream/docker/entrypoint.sh --download-models --build-engines"' >> ~ /.bashrc
6
11
echo -e " \e[32mContainer ready! Run 'prepare_examples' to download models and build engines for example workflows.\e[0m"
7
12
Original file line number Diff line number Diff line change @@ -44,6 +44,13 @@ if [ "$1" = "--build-engines" ]; then
44
44
shift
45
45
fi
46
46
47
+ if [ " $1 " = " --editable" ]; then
48
+ cd /workspace/comfystream
49
+ conda activate comfystream
50
+ pip install -e .
51
+ shift
52
+ fi
53
+
47
54
# Install npm packages if needed
48
55
cd /workspace/comfystream/ui
49
56
if [ ! -d " node_modules" ]; then
52
59
53
60
if [ " $1 " = " --server" ]; then
54
61
/usr/bin/supervisord -c /etc/supervisor/supervisord.conf
62
+ shift
55
63
fi
56
64
57
65
cd /workspace/comfystream
You can’t perform that action at this time.
0 commit comments