- Install dependencies:
bundle install
- Run database migrations:
rake db:migrate
- Start application server:
rails server
- Start server for realtime messaging (thin should be started at production environment):
rackup private_pub.ru -s thin -E production
- Open http://localhost:3000 in browser #1 and in browser #2. These should be different browsers/tabs that do not share coockies :)
- Enter a unique user name in each browser and begin chatting!
- Chat refreshes in realtime
- You can have as many chat rooms as you wish (one per companion)
- Improve styles :)
- Write more specs
- Refactor Ruby
- Refactor JS, introduce AngularJS
- Allow chat room to contain more than two people
- Make real user authentication system (now only temporarily guests and chats)