-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
63 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,69 @@ | ||
# rails-poker | ||
scrum poker in rails5, docker-compose | ||
## info | ||
rails poker is a rails 5 based project. | ||
and include a chatroom in it ;) | ||
I start the project with a purpose to buid a demo for **rails5 + actioncable + reactjs** | ||
i can't stop my keybord while i found much fun with it! | ||
then i extend the actioncable demo to a nice chating app | ||
and build a internal use online srum-poker app | ||
|
||
I think this will help someone who is interested in actioncable and reactjs, | ||
maybe this can be the starting example. | ||
## demo | ||
[Chat room](http://poker.miaowu.org/) | ||
[scum poker](http://poker.miaowu.org/usersessions/new) | ||
|
||
## FEATURES | ||
- **Chat Room** | ||
> 1. random displayname by session, everyday changes, very interesting | ||
> 2. user join/quit staus(some problem with the quit) | ||
> 3. some mark-down support | ||
> 4. send image by url | ||
> 5. kamoji support | ||
- **Scrum Poker** | ||
> 1. create room and send the url to participants | ||
> 2. subject can change every turn | ||
> 3. organizer can switch the room status, **ready** -> **start poking** -> **draw result** | ||
> 4. the participants status will be showed on the right | ||
> 5. the result will showing as a pie chart | ||
|
||
## Support | ||
|
||
For support please create an issue here at GitHub | ||
|
||
## Pull Requests | ||
|
||
Feel free to submit any PRs here, too. :) | ||
|
||
Please indent using two spaces only, have a newline at the EOF and use UNIX line ending, thanks! | ||
|
||
# development | ||
|
||
```bashshell | ||
# install docker and docker-compose beforehand | ||
# clone the repo | ||
git clone https://github.com/cdphp/rails-poker.git | ||
# create the database | ||
docker-compose run app /bin/bash | ||
root@3b552a0a5c99:/usr/src/app# mysql -hdb -p | ||
Enter password: root | ||
mysql> CREATE DATABASE IF NOT EXISTS poker default charset utf8 COLLATE utf8_general_ci; | ||
mysql> exit | ||
Bye | ||
root@3b552a0a5c99:/usr/src/app# rake db:migrate | ||
root@3b552a0a5c99:/usr/src/app# exit | ||
exit | ||
docker-compose up | ||
# http://localhost:3000 | ||
``` | ||
|
||
# contribute | ||
如果你有什么想法或者建议,请不要客气尽可以提出来。<br> | ||
show me your ideas, thanks! | ||
|
||
## test chats | ||
url: http://poker.miaowu.org/chats/new | ||
---- | ||
Built by (c) Joey Huang and contributors. Released under the MIT license. | ||
|
||
## test poker | ||
url: http://poker.miaowu.org/ | ||
## License | ||
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fcdphp%2Frails-poker.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fcdphp%2Frails-poker?ref=badge_shield) |