Skip to content

Arm-Examples/topo-welcome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello World

This is a Topo Project and follows the Topo Project Specification.

A minimal "Hello, World" web app for validating a Topo setup and deployment. It runs a single service that exposes a web page on the target, with the greeting text customizable via the GREETING_NAME parameter.

This is the most basic Topo project, intended as a starting point for understanding how a Topo Project is structured and how a simple containerized app is deployed to a target.

It demonstrates:

  • Topo Project metadata and parameters defined under the x-topo section of compose.yaml.
  • An HTML page that renders a customizable greeting.

To find out more about the project format, see the Topo Project Specification.

Usage

To use this project download and install topo from arm/topo

Clone the project:

topo clone git@github.com:Arm-Examples/topo-welcome

You will be prompted to provide a value for parameter 'GREETING_NAME'

The person to greet
Example: Markus
Default: World
GREETING_NAME (required)> Clark Kent

Build and Deploy the project:

cd topo-welcome
topo deploy --target <ip-address-of-target>

What you will see

Once deployment completes, open a browser to http://<ip-address-of-target>:8000 and you'll see a page that says "Hello <GREETING_NAME>, from a Topo container".

screenshot of the webpage showing a greeting for Clark Kent

About

A Hello World web app to test Topo setup

Resources

License

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors