Konfigurieren und bereitstellen Sie eine Umgebung, die den helloworld-API-Proxy enthält.
Umgebung erstellen:
Bewegen Sie den Mauszeiger auf den Ordner environments und klicken Sie auf .
Der Assistent zum Erstellen einer Umgebung wird geöffnet.
Geben Sie dev für den Umgebungsnamen ein und drücken Sie die Eingabetaste.
Die Umgebung wird erstellt.
Maximieren Sie den Umgebungsordner dev, um dessen Inhalt aufzurufen.
Beim Erstellen einer Umgebung sind standardmäßig Konfigurationsdateien im dev-Umgebungsordner zum Konfigurieren des Deployments und in allen erforderlichen Debug-Masken, Ablauf-Hooks oder Zielservern enthalten.
Konfigurieren Sie die Bereitstellungsdetails für den API-Proxy helloworld in der Umgebung:
Bewegen Sie den Mauszeiger auf die Datei deployments.json und klicken Sie auf .
Der Assistent für Bereitstellungen wird geöffnet.
Wählen Sie den API-Proxy helloworld aus, um ihn dem Deployment hinzuzufügen, und klicken Sie auf OK.
Die Datei deployments.json wird im Dateieditor geöffnet. Die Datei wurde aktualisiert und enthält den helloworld-API-Proxy im proxies-Bereitstellungsarray:
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-09-04 (UTC)."],[[["\u003cp\u003eThis guide focuses on configuring and deploying an environment, specifically for the \u003ccode\u003ehelloworld\u003c/code\u003e API proxy, within Apigee or Apigee hybrid.\u003c/p\u003e\n"],["\u003cp\u003eThe process involves creating a 'dev' environment folder, where default configuration files are generated to manage deployment settings.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003edeployments.json\u003c/code\u003e file is used to configure which API proxies, such as \u003ccode\u003ehelloworld\u003c/code\u003e, will be deployed to the designated environment.\u003c/p\u003e\n"],["\u003cp\u003eDeployment of the 'dev' environment results in a successful deployment message and the display of deployed application information within the emulators section.\u003c/p\u003e\n"],["\u003cp\u003ePrior to initiating the deployment process, it is recommended that the user has installed the Apigee Emulator.\u003c/p\u003e\n"]]],[],null,["# Step 3: Configure and deploy an environment\n\n*This page\napplies to **Apigee** and **Apigee hybrid**.*\n\n\n*View [Apigee Edge](https://docs.apigee.com/api-platform/get-started/what-apigee-edge) documentation.*\n\n\u003cbr /\u003e\n\nConfigure and deploy an environment that includes the `helloworld` API proxy.\n| **Note:** Before deploying an environment, ensure that you have [installed the Apigee Emulator](/apigee/docs/api-platform/local-development/vscode/manage-apigee-emulator#install).\n\n1. Create an environment:\n 1. Position your cursor over the **environments** folder and click .\n\n The **Create environment** wizard opens.\n 2. Enter **dev** for the environment name and press **Enter** .\n\n The environment is created.\n 3. Expand the **dev** environment folder to view its contents.\n\n When you create an environment, a set of configuration files are\n included by default in the `dev` environment folder for\n configuring your deployment and any required debug masks, flow hooks,\n or target servers.\n2. Configure the deployment details for the `helloworld` API proxy in the environment:\n 1. Position your cursor over the **deployments.json** file and click .\n\n The Deployments wizard opens.\n 2. Select the **helloworld** API proxy to add it to the deployment and click **OK** .\n\n The `deployments.json` file is opened in the editor. The file has been updated to include the `helloworld` API proxy in the `proxies` deployment array: \n\n ```\n {\n \"proxies\": [\n {\n \"name\": \"helloworld\"\n }\n ],\n \"sharedflows\": []\n }\n ```\n3. Deploy the **dev** environment:\n 1. Position your cursor over the **dev** environment folder in the Apigee section and click .\n\n | **Note:** If prompted to select a test bundle to export, click **Deploy without a test bundle** . This prompt displays only if you have created a test bundle in your Apigee workspace. You'll create and export a test bundle in the next step. \n\n The `dev` environment is deployed and the **Output** tab shows a success message.\n\n The `helloworld` deployed application information is displayed in the **emulators** section:\n\n**Congratulations!** You've deployed your first API proxy application. In the next step, you'll test the API proxy using curl.\n\n\n[1](/apigee/docs/api-platform/local-development/vscode/tutorial-create-workspace)\n\n\n[2](/apigee/docs/api-platform/local-development/vscode/tutorial-create-proxy)\n\n\n[3](/apigee/docs/api-platform/local-development/vscode/tutorial-deploy)\n\n\n[(NEXT) Step 4: Test your API](/apigee/docs/api-platform/local-development/vscode/tutorial-test)\n\n\n[5](/apigee/docs/api-platform/local-development/vscode/tutorial-change-target-endpoint)\n\n\n[6](/apigee/docs/api-platform/local-development/vscode/tutorial-attach-policy)\n\n\n[7](/apigee/docs/api-platform/local-development/vscode/tutorial-deploy-apigee)\n\n\n[8](/apigee/docs/api-platform/local-development/vscode/tutorial-promote)\n\n\u003cbr /\u003e"]]