Private
Public Access
1
0
Files
MineSeeker/README.md
2019-10-26 17:40:10 +02:00

41 lines
1.1 KiB
Markdown

mineseeker
=========
A Symfony project created on September 22, 2016, 13:56 pm.
PROJECT VERSION 1.1.0-20191026
This is a Symfony 3 project w/ React JS in standalone mode and w/ WebSocket.
#### 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__
#### Backend WebSocket server start as daemon - GeniusesOfSymfony/WebSocketBundle
$ nohup bin/console gos:websocket:server &
#### React JS WebPack watch generator w/ babel presets: es2015, react
$ webpack -p --config=webpack-prod.config.js
PROD
$ webpack --progress --colors --watch -d
DEV
-d --> Debugger; If you write this line somewhere: debugger;
The browser will stop the code here!!!
#### Connect to Prod
ssh xxsvci@laszlolang.com -i ~/.ssh/id_rsa_laszlolang