Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ideonate/rshiny-server-cmd
Command line wrapper to run a named R Shiny Server script/folder
https://github.com/ideonate/rshiny-server-cmd
Last synced: 2 months ago
JSON representation
Command line wrapper to run a named R Shiny Server script/folder
- Host: GitHub
- URL: https://github.com/ideonate/rshiny-server-cmd
- Owner: ideonate
- License: apache-2.0
- Created: 2020-06-11T14:44:27.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-29T18:26:05.000Z (about 1 year ago)
- Last Synced: 2024-10-07T13:37:50.201Z (4 months ago)
- Language: Python
- Size: 8.79 KB
- Stars: 1
- Watchers: 3
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# rshiny-server-cmd
Command line wrapper to run a named R Shiny Server script/folder.
This project is used in [ContainDS Dashboards](https://github.com/ideonate/cdsdashboards), which is a user-friendly
way to launch Jupyter notebooks as shareable dashboards inside JupyterHub. Also works with Streamlit and other
visualization frameworks.## Install and Run
Install using pip.
```
pip install rshiny-server-cmd
```The file to start is specified on the command line, for example:
```
rshiny-server-cmd ~/Dev/myrfile.R
```By default the server will listen on port 8888
To specify a different port, use the --port flag.
```
rshiny-server-cmd --port=8888 ~/Dev/myrfile.R
```To run directly in python: `python -m rshiny_server_cmd.main `
## Other command line args
--debug
--ip