Create the rails project and build docker-compose.

This commit is contained in:
2020-08-17 18:59:01 +01:00
commit 2bab452ae7
90 changed files with 2244 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
// Action Cable provides the framework to deal with WebSockets in Rails.
// You can generate new channels where WebSocket features live using the `rails generate channel` command.
import { createConsumer } from "@rails/actioncable"
export default createConsumer()
+5
View File
@@ -0,0 +1,5 @@
// Load all the channels within this directory and all subdirectories.
// Channel files must be named *_channel.js.
const channels = require.context('.', true, /_channel\.js$/)
channels.keys().forEach(channels)