https://github.com/virtualstaticvoid/heroku-shinymanager-app
Example R project for using shinymanager on Heroku.
https://github.com/virtualstaticvoid/heroku-shinymanager-app
demo-app heroku heroku-app r rshiny shiny shinymanager template
Last synced: 4 months ago
JSON representation
Example R project for using shinymanager on Heroku.
- Host: GitHub
- URL: https://github.com/virtualstaticvoid/heroku-shinymanager-app
- Owner: virtualstaticvoid
- License: mit
- Created: 2021-10-08T19:40:22.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-31T19:36:23.000Z (over 2 years ago)
- Last Synced: 2024-08-13T07:13:22.622Z (8 months ago)
- Topics: demo-app, heroku, heroku-app, r, rshiny, shiny, shinymanager, template
- Language: R
- Homepage:
- Size: 101 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - virtualstaticvoid/heroku-shinymanager-app - Example R project for using shinymanager on Heroku. (R)
README
# Example Shiny Manager App on Heroku
This is an example [Shiny][shiny] application together with [shinymanager][shinymgr],
which uses the [heroku-buildpack-r][buildpack] on Heroku.> `shinymanager` is a simple and secure authentication mechanism for single [Shiny][shiny] applications.
> Credentials are stored in an encrypted ‘SQLite’ database. Password are hashed using ‘scrypt’ R package.
> Source code of main application is protected until authentication is successful.## Usage
[![Deploy][button]][deployapp]
You can use this project as a template for creating Shiny applications with shinymanager on Heroku.
Execute these commands to get started:
```bash
# get the sources
git clone https://github.com/virtualstaticvoid/heroku-shinymanager-app.git
cd heroku-shinymanager-app# optionally, reinitialize git
rm -rf .git
git init -b main
git add --all
git commit -m "initial"# create a new heroku application, set the buildpack and deploy
heroku create --stack heroku-20 --buildpack vsv/heroku-buildpack-r# deploy
git push heroku main# view the application
heroku open
```Login with one of the following credentials:
| Role | User Name | Password |
|-------|-----------|----------|
| Admin | `admin` |`p@ssw0rd`|
| User | `user` |`p@ssw0rd`|## License
MIT License. Copyright (c) 2021 Chris Stefano. See [LICENSE](LICENSE) for details.
[buildpack]: https://github.com/virtualstaticvoid/heroku-buildpack-r
[button]: https://www.herokucdn.com/deploy/button.svg
[deployapp]: https://heroku.com/deploy?template=https://github.com/virtualstaticvoid/heroku-shinymanager-app/tree/main
[shiny]: https://shiny.rstudio.com/
[shinymgr]: https://datastorm-open.github.io/shinymanager/