Posts

Showing posts from October, 2019

Create A Chatting App

Image
Create the rails application We are ready to create our new  rails  application: rails new chatting_app Note : We didn’t define a name for the application and rails will resolve it using the directory name:  chatting app Rails will create all the application’s files and install the required gems. Let’s start the application to make sure that everything if fine. rails server You should see something like: => Booting Puma => Rails 5.2.3 application starting in development => Run `rails server -h` for more startup options Puma starting in single mode... * Version 3.12.1 (ruby 2.6.2-p47), codename: Llamas in Pajamas * Min threads: 5, max threads: 5 * Environment: development * Listening on tcp://localhost:3000 Use Ctrl-C to stop Open a browser and visit  http://localhost:3000 , if you see this we are good to go. Step-1(Add User Devise) We are going to use the awesome  devise  solution for authentication. Append t...