Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README #2

Merged
merged 2 commits into from
Oct 13, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update readme
  • Loading branch information
Swechhya committed Oct 13, 2021
commit 252b33b5d578daac993f5a4602e1ac0fb8d41384
38 changes: 32 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,52 @@

[![forthebadge](data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMTEuNDciIGhlaWdodD0iMzUiIHZpZXdCb3g9IjAgMCAyMTEuNDcgMzUiPjxyZWN0IGNsYXNzPSJzdmdfX3JlY3QiIHg9IjAiIHk9IjAiIHdpZHRoPSIxMTUuMzEiIGhlaWdodD0iMzUiIGZpbGw9IiMzMUM0RjMiLz48cmVjdCBjbGFzcz0ic3ZnX19yZWN0IiB4PSIxMTMuMzEiIHk9IjAiIHdpZHRoPSI5OC4xNiIgaGVpZ2h0PSIzNSIgZmlsbD0iIzM4OUFENSIvPjxwYXRoIGNsYXNzPSJzdmdfX3RleHQiIGQ9Ik0xNS42OSAyMkwxNC4yMiAyMkwxNC4yMiAxMy40N0wxNi4xNCAxMy40N0wxOC42MCAyMC4wMUwyMS4wNiAxMy40N0wyMi45NyAxMy40N0wyMi45NyAyMkwyMS40OSAyMkwyMS40OSAxOS4xOUwyMS42NCAxNS40M0wxOS4xMiAyMkwxOC4wNiAyMkwxNS41NSAxNS40M0wxNS42OSAxOS4xOUwxNS42OSAyMlpNMjguNDkgMjJMMjYuOTUgMjJMMzAuMTcgMTMuNDdMMzEuNTAgMTMuNDdMMzQu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IDIxLjgwUTE1MC45OSAyMi4xNyAxNDkuNzkgMjIuMTdMMTQ5Ljc5IDIyLjE3UTE0OC43NyAyMi4xNyAxNDcuODEgMjEuOTJRMTQ2Ljg1IDIxLjY3IDE0Ni4yNSAyMS4yNFpNMTYwLjQ2IDIyTDE1OC4wOCAyMkwxNTguMDggMTMuNjBMMTYwLjQ2IDEzLjYwTDE2MC40NiAxNi43NkwxNjMuNzAgMTYuNzZMMTYzLjcwIDEzLjYwTDE2Ni4wOCAxMy42MEwxNjYuMDggMjJMMTYzLjcwIDIyTDE2My43MCAxOC43MkwxNjAuNDYgMTguNzJMMTYwLjQ2IDIyWk0xNzMuNjIgMjJMMTcxLjI0IDIyTDE3MS4yNCAxMy42MEwxNzMuNjIgMTMuNjBMMTczLjYyIDIyWk0xODEuMTIgMjJMMTc4Ljc5IDIyTDE3OC43OSAxMy42MEwxODAuNzUgMTMuNjBMMTg0LjQ2IDE4LjA3TDE4NC40NiAxMy42MEwxODYuNzggMTMuNjBMMTg2Ljc4IDIyTDE4NC44MyAyMkwxODEuMTIgMTcuNTJMMTgxLjEyIDIyWk0xOTQuMDcgMTguOTVMMTkwLjg3IDEzLjYwTDE5My4zNyAxMy42MEwxOTUuMzcgMTYuOTRMMTk3LjM2IDEzLjYwTDE5OS42NiAxMy42MEwxOTYuNDUgMTguOTlMMTk2LjQ1IDIyTDE5NC4wNyAyMkwxOTQuMDcgMTguOTVaIiBmaWxsPSIjRkZGRkZGIiB4PSIxMjYuMzEiLz48L3N2Zz4=)](https://forthebadge.com)

# Chatroom with R/Shiny

A quick example for containerizing and running R/Shiny app.
This is a chat application built using R/Shiny. Using this app we can create multiple user chat room with the help of shiny session.

This also serves as an example for containerizing and running R/Shiny app.

![](www/screenshot.png)

# Getting Started

There are three different ways in which you can use this chat app:

1. [Building the image](#building-the-image)
2. [Running the docker image](#running-the-docker-image)
3. [Running the deployed app](#running-the-deployed-app)

## Building the image

Building the image as _chatapp_ and running the app to be available at http://localhost:3838/ is as simple as executing the following:
Following are the steps to be followed

1. Clone the repo and navigate to the repo folder:

```
git clone https://github.com/zatch3301/chat_room.git

cd zatch3301
```

2. Build and run:

```
docker build -t shinychat .

docker run -p 4949:4949 shinychat
```

Alternatively the image has already been built and pushed to DockerHub tagged zatch3301/shinychat:1.0.0 which can be pulled and run easily with:
The app will be available at [localhost port 3838](http://localhost:3838/ )

## Running the docker image

The image has already been built and pushed to DockerHub tagged zatch3301/shinychat:1.0.0 which can be pulled and run easily by executing the following code:

```
docker run -p 3838:3838 zatch3301/shinychat:1.0.0
```

## Running the deployed app

Alternatively the project is also deployed on https://www.shinyapps.io/ and can be accessed by the below link

> [Chat Room](https://zatch.shinyapps.io/chat_room/)
The project is also deployed on [shinyapps.io](https://www.shinyapps.io/) and can be accessed by [this link](https://zatch.shinyapps.io/chat_room/)
Binary file added www/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.