How to set up Open SWE for development
Clone the Repository
Install Dependencies
Set Up Environment Files
apps/web/.env
)apps/open-swe/.env
)SECRETS_ENCRYPTION_KEY
using: openssl rand -hex 32
. This key must be identical in both environment files.Create GitHub App
http://localhost:3000/api/auth/github/callback
/webhook/github
(e.g., https://abc123.ngrok.io/webhook/github
)
GITHUB_WEBHOOK_SECRET
in apps/open-swe/.env
12345678
).pem
file and copy its contents\\n
for line breaks, or use the multiline format shown in the example.env
files are already included in .gitignore
.Start Development Servers
http://localhost:2024
Terminal 2 - Start the Web Application:http://localhost:3000
http://localhost:3000