ambhtmx.plotly / README.md
jrosell's picture
fix readme
6c5f86a
|
raw
history blame
1.71 kB
---
title: ambhtmx.plotly
emoji: πŸƒ
colorFrom: pink
colorTo: pink
sdk: docker
pinned: false
---
<!-- badges: start -->
[![Lifecycle:
experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental)
<!-- badges: end -->
**THIS IS A WORK IN PROGRESS, DO NOT USE**
See the demo here:
* Direct URL to the deployed app: https://jrosell-ambhtmx-plotly.hf.space/
* Space URL: https://huggingface.co/spaces/jrosell/ambhtmx.plotly
Or test it locally:
```
git clone [email protected]:jrosell/ambhtmx.plotly.git
cd ambhtmx.plotly
echo GITHUB_PAT="Your token from github" >> .Renviron
bash docker_run.sh
```
If you want, you can remove docker containers and images:
```
bash docker_rm.sh
```
## How to use Github and Hugging Face Spaces for my project
When you pushing a repository to a Hugging Face Spaces with the option to deploy Dockerfile and include a Dockerfile, Hugging Face will start building and running your app in the Space.
Customize this example, to enable Hugging Face Spaces as additional remote:
```
git init
git add -A
git status
git commit -m "My changes"
git remote add origin [email protected]:jrosell/ambhtmx.plotly.git
git remote add gh [email protected]:jrosell/ambhtmx.plotly.git
git remote add hf [email protected]:spaces/jrosell/ambhtmx.plotly
git remote -v
```
Then, to depoly to Hugging Face Spaces run:
```
bash deploy_hf.sh
```
## Troubleshooting
Kown issues:
* Only updates when refreshing the whole page. WIP should rerender on innerHTML replace.
Check the [known issues](https://github.com/jrosell/ambhtmx/issues), and if you have another issue? Please, [let me know](https://github.com/jrosell/ambhtmx/issues).