Simple chat using ActionCable.
To run the application it is assumed that you have installed Ruby Version Manager, with version 3.0.0 as default, and Mysql.
Ruby Version Manager. After instalation run 'rvm install ruby-3.0.0'.
MySql. Make sure the service is running. And that the username and password is the same as that configured in the database.yml file.
Clone repository git clone git@github.com:TiagoLima411/chat_room.git.
Enter the chat_room folder.
First, install the gems required by the application:
gem install bundle
bundle install
Next, execute the database commands:
rails db:create
rails db:migrate
rails db:migrate
Start the Rails app to see the In-Context-Editor added to the To-Do application. You're ready to localize your app:
rails s -b 0.0.0.0
You can find your app now by pointing your browser to http://localhost:3000.