OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

Create install_opendevin.sh

Open skynet-bit opened this issue 1 year ago • 3 comments

Shell script to automate the installation process

skynet-bit avatar Apr 01 '24 11:04 skynet-bit

Remember to replace sk-... with your actual OpenAI API key. Also, note that gnome-terminal is specific to GNOME desktop environments. If you’re using a different desktop environment, you’ll need to replace gnome-terminal with the appropriate command for your terminal emulator. For example, for KDE’s Konsole, it would be konsole -e, and for XFCE’s Terminal, it would be xfce4-terminal -e.

To run the script, save it to a file, for example install_opendevin.sh, and make it executable with the following command: chmod +x install_opendevin.sh Then you can execute the script using: sudo ./install_opendevin.sh

skynet-bit avatar Apr 01 '24 11:04 skynet-bit

I suggest reading the key from an environment variable instead of having to hardcode it into a script that is not even added to .gitignore

s1moe2 avatar Apr 01 '24 12:04 s1moe2

It only works on Debian-based distributions, you should mention it.

For information, it's better to add docker source and not install from your distrib repo it's outdated

Great work !

Kurtisone avatar Apr 01 '24 13:04 Kurtisone

Given that we have a Makefile now, I don't think we want to maintain this one. Nice to have for posterity though! Thanks for pushing it.

rbren avatar Apr 05 '24 14:04 rbren

**Thanks for the feedback @s1moe2 @Kurtisone @rbren **

To be honest, this is was my first contribution to a open source project, and it was accidental one, the target branch was supposed to be my main branch of my fork

Anyways makefile is super helpful If anybody is working on or have any tasks related to UI: Developing a user-friendly interface, including a chat interface, a shell demonstrating commands, and a web browser please feel free to contact me, happy to contribute frontend related task

skynet-bit avatar Apr 06 '24 05:04 skynet-bit