An open API service indexing awesome lists of open source software.

https://github.com/johnforfar/xnode-python-ai-panel


https://github.com/johnforfar/xnode-python-ai-panel

Last synced: 20 days ago
JSON representation

Awesome Lists containing this project

README

          

## Xnode Python Template

Template to make your Python app Xnode/Nix compatible.

## Modification Steps

1. Replace all instances of "xnode-python-ai-panel" with the name of your project. This should be unique, as no apps with the same name can be run on a single Xnode.
2. Build your Python app
3. Once your app is ready for deployment and runs using `nix run`, push to GitHub and copy your GitHub url (e.g. https://github.com/Openmesh-Network/xnode-python-template).
4. Go the the App Store in [Xnode Studio](https://www.openmesh.network/xnode/app-store) and go to the advanced tab.
5. Paste your GitHub url and enter the name of the project you choose during step 1.
6. Hit deploy and wait for your app to be ready.
7. Copy the deploy link and replace the one click deployment url in the next section. (to allow others to easily deploy your application)

## One click deployment

[](https://www.openmesh.network/xnode/deploy?advanced=eyJkYXRhIjp7Im5hbWUiOiJ4bm9kZS1weXRob24tYWktcGFuZWwiLCJkZXNjIjoiQ3VzdG9tIEFwcCIsIm5peE5hbWUiOiJ4bm9kZS1weXRob24tYWktcGFuZWwiLCJvcHRpb25zIjpbeyJuYW1lIjoiZW5hYmxlIiwiZGVzYyI6IkVuYWJsZSB0aGUgbmV4dGpzIGFwcCIsIm5peE5hbWUiOiJlbmFibGUiLCJ0eXBlIjoiYm9vbGVhbiIsInZhbHVlIjoidHJ1ZSJ9XSwidGFncyI6W10sImZsYWtlcyI6W3sibmFtZSI6Inhub2RlLXB5dGhvbi1haS1wYW5lbC1mbGFrZSIsInVybCI6ImdpdGh1Yjpqb2huZm9yZmFyL3hub2RlLXB5dGhvbi1haS1wYW5lbCJ9XSwiaWQiOiJ4bm9kZS1weXRob24tYWktcGFuZWwifSwidHlwZSI6InRlbXBsYXRlcyIsInNlcnZpY2VzIjpbeyJuYW1lIjoieG5vZGUtcHl0aG9uLWFpLXBhbmVsIiwiZGVzYyI6IkN1c3RvbSBBcHAiLCJuaXhOYW1lIjoieG5vZGUtcHl0aG9uLWFpLXBhbmVsIiwib3B0aW9ucyI6W3sibmFtZSI6ImVuYWJsZSIsImRlc2MiOiJFbmFibGUgdGhlIG5leHRqcyBhcHAiLCJuaXhOYW1lIjoiZW5hYmxlIiwidHlwZSI6ImJvb2xlYW4iLCJ2YWx1ZSI6InRydWUifV0sInRhZ3MiOltdLCJmbGFrZXMiOlt7Im5hbWUiOiJ4bm9kZS1weXRob24tYWktcGFuZWwtZmxha2UiLCJ1cmwiOiJnaXRodWI6am9obmZvcmZhci94bm9kZS1weXRob24tYWktcGFuZWwifV19XX0%3D)

## Commands (in root folder)

```
nix run
```

## Commands (in python-app)

```
python src/main.py
```