Przeglądaj źródła

Add a host command to the makefile (#534)

Graham Neubig 1 rok temu
rodzic
commit
c15fa3e768
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -32,7 +32,7 @@ start-frontend:
 run:
 	@echo "Running the app..."
 	@mkdir -p logs
-	@pipenv run nohup uvicorn opendevin.server.listen:app --port $(BACKEND_PORT) > logs/backend_$(shell date +'%Y%m%d_%H%M%S').log 2>&1 &
+	@pipenv run nohup uvicorn opendevin.server.listen:app --port $(BACKEND_PORT) --host "::" > logs/backend_$(shell date +'%Y%m%d_%H%M%S').log 2>&1 &
 	@cd frontend && npm run start -- --port $(FRONTEND_PORT)
 
 # Setup config.toml