Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marcskovmadsen/panel-lightning-basic
A basic Panel lightning app
https://github.com/marcskovmadsen/panel-lightning-basic
Last synced: 4 days ago
JSON representation
A basic Panel lightning app
- Host: GitHub
- URL: https://github.com/marcskovmadsen/panel-lightning-basic
- Owner: MarcSkovMadsen
- License: mit
- Created: 2022-07-02T09:15:30.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-02T17:22:05.000Z (over 2 years ago)
- Last Synced: 2024-12-24T19:43:30.538Z (about 2 months ago)
- Language: Python
- Size: 1.64 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
 [](https://twitter.com/MarcSkovMadsen)
# ⚡ Panel Lightning Basic Web UI
Basic example of a [Panel](https://panel.holoviz.org) [lightning.ai](https://lightning.ai/) Lightning Web UI.
[](https://01g6z4w0fgxzp3npc9cr2dmthh.litng-ai-03.litng.ai/view/Home).
You can try out the [live app here](https://01g6z4w0fgxzp3npc9cr2dmthh.litng-ai-03.litng.ai/view/Home).
## ⚙️ Install Locally
```bash
git clone https://github.com/MarcSkovMadsen/panel-lightning-basic.git
cd awesome-panel-lightning
```[Create](https://realpython.com/python-virtual-environments-a-primer/#create-it) and [activate](https://realpython.com/python-virtual-environments-a-primer/#activate-it) your local environment.
Then install the requirements via
```bash
pip install -r requirements.txt
```Finally you can update the `name` of the app in the [.lightning](.lightning) file.
## Develop Locally
Develop the Panel app locally with hot reload
```bash
panel serve app.py --autoreload --show
```## 🏃 Run Locally
Run the lightning app locally via
```bash
lightning run app app.py
```## ☁️ Run in lightning.ai cloud
Run the lightning app in the cloud via
```bash
lightning run app app.py --cloud
```and follow the instructions