Skip to content

j-c-berger/codewind-appsody-extension

 
 

Repository files navigation

codewind-appsody-extension

License Chat

This repository is an extension to Codewind that adds support for Appsody projects.

Installing the Appsody Extension on Codewind

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.

Creating an Appsody Project

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.

Optional: Building the Full Application Image

  1. Open a terminal into the Codewind server container:

    docker exec -it codewind-pfe bash

  2. Run the following command, replacing projectName with the name of the project to build:

    export APPSODY_MOUNT_PROJECT=$HOST_WORKSPACE_DIRECTORY/projectName

  3. Go into the project directory:

    cd /codewind-workspace/projectName

  4. 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

Optional: Using the Same Appsody Configuration Between Local CLI and Codewind

If you have a local install of the Appsody CLI, you can configure it to use the same configuration as Codewind.

  1. 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)

  2. Change the home property to point the Codewind's copy of the Appsody configuration

    home: /some_path/codewind-workspace/.appsody

Current Limitations

  • 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.

Contributing

Submit issues and contributions:

  1. Submitting issues
  2. Contributing

About

Extension to Codewind providing support for Appsody projects

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 90.6%
  • JavaScript 9.4%