Difficulty: Intermediate
Estimated Time: 40

In this tutorial, we are going to run Thamos Advise on a simple TensorFlow Python app using Thamos CLI. Thus getting intelligent recommendation on the software stack using the CLI.

About Thamos

Thamos is the CLI application offered by Thoth that interacts with Thoth Backend API. Thamos can be configured using a .thoth.yaml in your Python app's root directory.

You can find the full documentation on Thamos here - Link

About the environment.

This is a CENTOS environment with a terminal and an editor.
We are operating our services on the MassOpen.cloud #operatefirst

Thank you for trying to build using Thamos CLI.

Visit us at - http://thoth-station.ninja/

Please fill this feedback form to help us improve the scenario - Link

Find us at Github.

Thamos CLI

Step 1 of 2

Setup the environment.

Before we start using Thamos, let's give a couple of minutes for the environment to setup.

Next we could go ahead and install Thamos CLI -

pip3 install thamos

Now that all that is done, let's check what Thamos offer-

thamos --help

You should see something like this -
Thamos help

Bravo if you made it till here! We are almost done with the setup. Last step is cloning out our demo app - Link

git clone https://github.com/thoth-station/s2i-example.git && cd s2i-example

You can see all the files, that our sample repo contains in the Katacoda editor.

Now let's check out our sample application -

s2i-example/app.py

And to check all the direct dependencies it needs using -

s2i-example/requirements.in

Creating Katacoda Scenarios

Thanks for creating Katacoda scenarios. This tab is designed to help you as an author have quick access the information you need when creating scenarios.

This tab will not be visible to users.

Here are some useful links to get you started.

Running Katacoda Workshops

If you are planning to use Katacoda for workshops, please contact [email protected] to arrange capacity.

Debugging Scenarios

Below is the response from any background scripts run or files uploaded. This stream can aid debugging scenarios.

If you still need assistance, please contact [email protected]