Visitar URL original
spin-python-sdk/examples/hello at main · spinframework/spin-python-sdk · GitHub
Skip to content

Latest commit

 

History

History

hello

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Example: Hello world

This is an example showcasing a guest component.

Preparing the Environment

Run the following commands to setup a virtual environment with Python.

python3 -m venv venv
source venv/bin/activate

Install the required packages specified in the requirements.txt using the command:

pip3 install -r requirements.txt

Building and Running the Examples

spin build --up

Testing the App

$ curl localhost:3000
Hello from Python!