Creating and importing projects
Now that you have configured Codewind to be used remotely, you are ready to create a project that you can develop locally but build and run remotely.
Note: If you have projects that currently exist on your local computer that you would like to continue to develop remotely, follow Import an existing local project to the cloud.
Create a project
Go to the Codewind Explorer view, right-click your remote connection, and select Create New Project.
Select the template type and enter a project name. Your new project is built and after a few seconds begins running in the cloud.
Import an existing local project to the cloud
Copy an existing local project, for example
myFirstNodeProject, over to the remote Codewind connection:
1. Right-click your remote connection and select Add Existing Project:
2. Click Select a project from the workspace and select your project:
Codewind prompts you to confirm the project type, in this case, identified as
Node.js. Confirm the project type and click Finish:
If you add a project to the remote connection that is already deployed on the local connection, the Project Already Deployed window appears:
3. Leave the Remove button selected to remove the project from the local connection and click OK:
4. Codewind begins building the code and the Docker image. Moments later the project image is uploaded to Docker Hub and used by your cloud deployment to provision a new pod:
CloudName1 cluster is now running and ready.
Move a project from one connection to another
With the Eclipse IDE, you can drag and drop projects from one connection to another.
Select the project in one connection and drag it onto another connection:
This action removes the project from the first connection and adds it to the second connection:
You have now:
- Configured your local IDE’s Codewind extension to connect to Codewind in the cloud.
- Registered all necessary security parameters.
- Created a project that builds and runs in the cloud.
- Built and run an existing project in the cloud.
To understand more about how you can use project templates in Codewind, including using pre-supplied templates and creating your own, see Working with templates.