Skip to content
This repository has been archived by the owner on Aug 6, 2021. It is now read-only.

Push simple python application #534

Open
balenaio opened this issue May 8, 2019 · 0 comments
Open

Push simple python application #534

balenaio opened this issue May 8, 2019 · 0 comments

Comments

@balenaio
Copy link
Collaborator

balenaio commented May 8, 2019

Description

Push an a simple python application to the device and test reboot.

Steps to reproduce issue

1. Push a test app to the device

$ git clone https://github.com/resin-io-projects/simple-server-python
$ cd simple-server-python
$ git remote add balena YYY
(copy the link from the application's dashboard)

$ git push balena

2. Reboot the device from the dashboard

Expected result

1.

This should start a webserver on the device, running the simple python webserver example.
Enable PUBLIC DEVICE URL in the device dashboard page.
Open the public URL page and you should be presented with the following message: "Hello World!"

2.

The device should re-run the application once it rebooted

Actual result

main Traceback (most recent call last):
08.05.19 13:41:51 (+0300) main File "src/main.py", line 1, in
08.05.19 13:41:51 (+0300) main from flask import Flask
08.05.19 13:41:51 (+0300) main ImportError: No module named 'flask'

Other information

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant