This repository is an extension to Codewind that adds support for Appsody projects.
Download the latest release and unzip or untar it under the Codewind workspace's .extensions
folder, i.e.
/some_path/codewind-workspace/.extensions/codewind-appsody-extension
Restart Codewind to pick up the new extension.
After installing the Appsody extension, the Appsody project templates will become available in Codewind, allowing you to create Appsody projects the same way you create other projects.
-
Open a terminal into the Codewind server container:
docker exec -it codewind-pfe bash
-
Run the following command, replacing projectName with the name of the project to build:
export APPSODY_MOUNT_PROJECT=$HOST_WORKSPACE_DIRECTORY/projectName
-
Go into the project directory:
cd /codewind-workspace/projectName
-
Run the command below. A docker image of the application will be built with the name projectName.
/codewind-workspace/.extensions/codewind-appsody-extension/appsody build
If you have a local install of the Appsody CLI, you can configure it to use the same configuration as Codewind.
-
Open the
.appsody.yaml
configuration file that the Appsody CLI is using in an editor (by default, this file is located in your home directory, under the.appsody
folder, but this can be changed via Appsody's--config
flag) -
Change the
home
property to point the Codewind's copy of the Appsody configurationhome: /some_path/codewind-workspace/.appsody
- Enabling and disabling auto build in Codewind is not supported for Appsody projects.
- Appsody is supported on Codewind on VS Code and on Eclipse, but not on Eclipse Che at this time.
Submit issues and contributions: