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.

Creating new remote 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:

Add existing project

2. Click Select a project from the workspace and select your project:

Add to Codewind

Codewind prompts you to confirm the project type, in this case, identified as Node.js. Confirm the project type and click Finish:

Confirm project type

If you add a project to the remote connection that is already deployed on the local connection, the Project Already Deployed window appears:

Project already deployed

3. Leave the Remove button selected to remove the project from the local connection and click OK:

Project added

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:

Build success

myFirstNodeProject on 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:

Drag Node.js project

This action removes the project from the first connection and adds it to the second connection:

Drop Node.js project

Next Steps

You have now:

  1. Configured your local IDE’s Codewind extension to connect to Codewind in the cloud.
  2. Registered all necessary security parameters.
  3. Created a project that builds and runs in the cloud.
  4. 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.