Skip to content

Commit a0b6881

Browse files
author
Your Name
committed
update readme
1 parent ce07446 commit a0b6881

File tree

626 files changed

+47427
-1228
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

626 files changed

+47427
-1228
lines changed

.idea/workspace.xml

+448-79
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+29-9
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,14 @@ Images
3131
Todo
3232
------
3333

34-
- Load balancing work with redis.
34+
- Load balancing work with redis. (Cooking with deepstream and nuxts)
3535
- Load pgn file.
3636

37+
## Install nodejs and mongodb
38+
39+
apt-get install nodejs-legacy npm
40+
apt-get install mongodb
41+
3742
## Run App
3843

3944
node server
@@ -45,20 +50,35 @@ Todo
4550
# install dependencies
4651
npm install
4752

53+
# After doing npm install copy from /copy_in_node_modules in /node_modules
54+
55+
cp -r -- copy_in_node_modules/ node_modules/
56+
4857
# serve with hot reload at localhost:8080
4958
npm run dev
5059

60+
# run server in new tab
61+
62+
node server
63+
64+
# Change the Dev variable in main.js to true
65+
66+
1. var Dev = true
67+
68+
# Accepts ssl certificate in localhost:(process.env.PORT || 3311)
69+
5170
# build for production with minification
52-
npm run build
5371

54-
# run unit tests
55-
npm run unit
72+
# Change the Dev variable in main.js to false
73+
74+
npm run build
5675

57-
# run e2e tests
58-
npm run e2e
76+
#Publish on server
5977

60-
# run all tests
61-
npm test
62-
```
78+
rm -rf server/public/static
79+
cp dist/static -r server/public/static
80+
rm server/views/client.html
81+
cp dist/index.html server/views/client.html
6382

6483

84+
## Enjoy it

copy_in_node_modules/chessground/.jshintrc

+20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

copy_in_node_modules/chessground/.npmignore

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

copy_in_node_modules/chessground/LICENSE

+19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

copy_in_node_modules/chessground/README.md

+193
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

copy_in_node_modules/chessground/assets/base.css

+88
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

copy_in_node_modules/chessground/assets/desktop.css

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)