diff --git a/README.md b/README.md index 9001dc9..59b830f 100644 --- a/README.md +++ b/README.md @@ -7,36 +7,34 @@ PROJECT VERSION 1.1.0-20191026 This is a Symfony 3 project w/ React JS in standalone mode and w/ WebSocket. - 0.) Must installed modules w/ npm are in package.json + to global: +#### Must installed modules w/ npm are in package.json + to global: - $ npm install webpack -g + $ 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!! + 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 +__(!) Tutorial: https://egghead.io/lessons/react-introduction-to-properties__ +#### Backend WebSocket server start as daemon - GeniusesOfSymfony/WebSocketBundle + $ nohup bin/console gos:websocket:server & - 1.) Backend WebSocket server start as daemon - GeniusesOfSymfony/WebSocketBundle +#### React JS WebPack watch generator w/ babel presets: es2015, react - $ nohup bin/console gos:websocket:server & + $ webpack -p --config=webpack-prod.config.js - 2.) React JS WebPack watch generator w/ babel presets: es2015, react + PROD - $ webpack -p --config=webpack-prod.config.js + $ webpack --progress --colors --watch -d - PROD + DEV - $ webpack --progress --colors --watch -d + -d --> Debugger; If you write this line somewhere: debugger; + The browser will stop the code here!!! - DEV +#### Connect to Prod - -d --> Debugger; If you write this line somewhere: debugger; - The browser will stop the code here!!! - - 3.) Connect to Prod - - ssh xxsvci@laszlolang.com -i ~/.ssh/id_rsa_laszlolang + ssh xxsvci@laszlolang.com -i ~/.ssh/id_rsa_laszlolang