Kurulumun Doğrulama
Yüklü sürümü kontrol edin:
opencode --version
Eklendi opencode PATH'inize şu şekilde ekleyin: /root/.bashrc
Temel Kullanım
1. Projenize gidin:
cd <project>
2. Start OpenCode:
opencode
Önemli Yollar
- Yükleme dizini:
/root/.opencode/bin - İkili:
/root/.opencode/bin/opencode
Web Arayüzüne Erişim
1. Start the OpenCode web server on a specific port (e.g., 8080):
opencode web --port 8080
2. From your local machine, create an SSH tunnel to securely forward the port:
ssh -L 8080:localhost:8080 root@<SERVER_IP>
3. Then open your browser and go to: http://localhost:8080