File size: 662 Bytes
e7c1f6e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

echo "Starting Antigravity Server..."

# Launch Antigravity in Web Server mode
# --host 0.0.0.0: Allows connections from outside the container
# --port 7860: The port Hugging Face expects
# --auth none: Allows you to access the IDE without a password (HF Spaces are public by default, use a Private Space for security!)
# --accept-server-license-terms: Required for running the server mode

antigravity --serve-web \
    --host 0.0.0.0 \
    --port 7860 \
    --auth none \
    --accept-server-license-terms \
    --db-path $HOME/.antigravity-server \
    --extensions-dir $HOME/.antigravity-extensions \
    --user-data-dir $HOME/.antigravity-data