Skip to content

Commit 4233e85

Browse files
authored
Merge pull request #16 from ThinkR-open/finalize-shinylive
docs: update README
2 parents a705f9a + c9490f4 commit 4233e85

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ More details on the contest can be found [here](https://posit.co/blog/winners-of
2727
## Demo
2828

2929
🕹️ Try the app at:
30-
[https://connect.thinkr.fr/signature-py/](https://connect.thinkr.fr/signature-py/)
30+
[https://signature-py.vercel.app/](https://signature-py.vercel.app/)
3131

3232
## Try locally
3333

@@ -78,7 +78,9 @@ sass scss/signature.scss css/signature.css
7878

7979
The redirection banner is a JavaScript function that redirects the user to the specified URL.
8080

81-
To modify the redirection URL, edit the `index.html` file at the root of the project.
81+
To modify the redirection URL, creeate a `index.html` file at the root of the project.
82+
83+
See : [signature](https://github.com/ThinkR-open/signature/)
8284

8385
## Mockup
8486

@@ -88,18 +90,19 @@ Explore the mockup [here](https://www.figma.com/proto/u95KvEqgWLB8arxt7saZcJ/%7B
8890

8991
## Deployment
9092

91-
The app is deployed on Connect.
93+
The app is deployed on **Vercel**.
94+
95+
Export the signature site using the following command:
9296

9397
```bash
9498
poetry shell
95-
cd signature
96-
rsconnect write-manifest shiny . --overwrite
99+
shinylive export signature site
97100
```
98101

99-
Then update `requirements.txt` :
102+
Then update run the app locally using the following command:
100103

101104
```bash
102-
poetry export --without-hashes --format=requirements.txt > requirements.txt
105+
python3 -m http.server --directory site --bind localhost 8008
103106
```
104107

105108
## Tests

site/app.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)