appz-ide-0.2

Introduction

appz-ide is used to develop microservices in python.

Stack Code

  • ide-0.2 - To be mentioned in build.image_template in appz.yml. See Sample AppZ Yaml.

Sample Project

appz-ide - Use this sample project to deploy appz-ide.

Sample AppZ YAML

If you fork appz-ide, you will see the following appz.yml in the root of the project.

app:
    name: AppZ IDE
    code: APPZIDE
    notify: appzdev@cloudbourne.co

build:
    version: 0.2
    env: DEV
    build_file: none
    output_files: output/*.zip
    image_template: ide-0.2

deploy:
    context: alpha/DEV
    type: statefulset
    replicas: 1
    port:
    - 80
    - { port : 8080, protocol: TCP, name : webserver }

volumes:
  - claim: home
    mount: /appz/home
    name: home
    size: 5Gi

properties:
    # Generate hash at https://hostingcanada.org/htpasswd-generator/
    IDE_PASSWORD_HASH: "appz:$2y$10$UlYiRlcQw4Doscdodv3vruSeGc/YfKH/tc1F1/HOgPeTMUMsg84Bm"
    revision: 24

See below the explanation of appz.yml which user can customize.

Properties

  • IDE_PASSWORD_HASH - Contains username and Password to login into the ide application.

Volumes

It is stateful deployment and volumes are created for /appz/home as per volumes: section in appz.yml

Standard AppZ Volumes is also enabled.