Преглед изворни кода

Add a host command to the makefile (#534)

Graham Neubig пре 1 година
родитељ
комит
c15fa3e768
1 измењених фајлова са 1 додато и 1 уклоњено
  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