Private
Public Access
1
0

chg: usr: doc in README.md #3

This commit is contained in:
2019-10-26 17:40:10 +02:00
parent 9ef0711acc
commit aae8b9ebec

View File

@@ -7,7 +7,7 @@ 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
@@ -16,15 +16,13 @@ This is a Symfony 3 project w/ React JS in standalone mode and w/ WebSocket.
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__
1.) Backend WebSocket server start as daemon - GeniusesOfSymfony/WebSocketBundle
#### Backend WebSocket server start as daemon - GeniusesOfSymfony/WebSocketBundle
$ nohup bin/console gos:websocket:server &
2.) React JS WebPack watch generator w/ babel presets: es2015, react
#### React JS WebPack watch generator w/ babel presets: es2015, react
$ webpack -p --config=webpack-prod.config.js
@@ -37,6 +35,6 @@ This is a Symfony 3 project w/ React JS in standalone mode and w/ WebSocket.
-d --> Debugger; If you write this line somewhere: debugger;
The browser will stop the code here!!!
3.) Connect to Prod
#### Connect to Prod
ssh xxsvci@laszlolang.com -i ~/.ssh/id_rsa_laszlolang