websocket basic setup FE & BE && working basic game w/ react && webpack & babel config
This commit is contained in:
24
README.md
24
README.md
@@ -1,4 +1,22 @@
|
||||
mine
|
||||
====
|
||||
This is a Symfony 3 project w/ React JS in standalone mode and w/ WebSocket.
|
||||
|
||||
A Symfony project created on September 21, 2016, 10:11 am.
|
||||
0.) Must installed modules w/ npm are in package.json + to global:
|
||||
|
||||
$ npm install webpack -g
|
||||
|
||||
You will need a
|
||||
.babelrc file w/ the presets
|
||||
webpack.config.js - https://webpack.github.io/docs/webpack-for-browserify-users.html
|
||||
same as dir where the package.json!!
|
||||
|
||||
(!) Tutorial: https://egghead.io/lessons/react-introduction-to-properties
|
||||
|
||||
|
||||
|
||||
1.) Backend WebSocket server start as daemon - GeniusesOfSymfony/WebSocketBundle
|
||||
|
||||
$ nohup bin/console gos:websocket:server &
|
||||
|
||||
2.) React JS WebPack watch generator w/ babel presets: es2015
|
||||
|
||||
$ webpack --progress --colors --watch
|
||||
|
||||
Reference in New Issue
Block a user