Skip to content

Commit 2dd1a64

Browse files
committed
readme commit
1 parent c2094d7 commit 2dd1a64

File tree

3 files changed

+73
-59
lines changed

3 files changed

+73
-59
lines changed

.eslintrc

+27-11
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@
44
"extends": [
55
"eslint:recommended", "plugin:react/recommended"
66
],
7-
// Enable ES6 support. If you want to use custom Babel
7+
// Enable ES7 support. If you want to use custom Babel
88
// features, you will need to enable a custom parser
99
// as described in a section below.
10+
"parser": "babel-eslint",
1011
"parserOptions": {
11-
"ecmaVersion": 6,
12+
ecmaVersion: 7,
1213
"ecmaFeatures": {
1314
"experimentalObjectRestSpread": true
1415
},
@@ -22,19 +23,34 @@
2223
"plugins": [
2324
"react"
2425
],
25-
"globals": {
26-
"React": true
26+
"globals": {
27+
"React": true,
28+
"jQuery": true,
29+
"If": true,"Else": true,
30+
"For": true
2731
},
2832
"ecmaFeatures": {
29-
"jsx": true
33+
'jsx': true,
34+
'modules':true
3035
},
3136
"rules": {
32-
// Disable `no-console` rule
37+
"no-underscore-dangle": 0,
38+
"no-param-reassign": 0,
39+
"func-names": 0,
40+
"new-cap": 0,
41+
"import/no-unresolved": 0,
42+
"import/no-named-as-default": 0,
43+
"react/prefer-stateless-function": 0,
44+
"import/no-extraneous-dependencies": 0,
3345
"no-console": 0,
34-
"no-underscore-dangle": 0,
35-
"vars-on-top": 0,
36-
// Default to single quotes and raise an error if something
37-
// else is used
38-
"quotes": 0
46+
"react/jsx-filename-extension": [
47+
1,
48+
{
49+
"extensions": [
50+
".js",
51+
".jsx"
52+
]
53+
}
54+
]
3955
}
4056
}

README.md

+23-24
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,27 @@ IN root folder of react-app
7777

7878
a) npm install (install babel dependencies)
7979

80-
b) npm run new (this install and deps of MY application in ./temp)
81-
normally i checked all dependencies
80+
b) npm run new (this install and deps of MY application in ./temp)
81+
normally i checked all dependencies
82+
### IMPORTANT before to run:
83+
84+
>* delete the feathers-authentication installed in ./temp/node_modules/
85+
and replace by mine (i did some little hack to make the new work with my config)
86+
> Do unzip ./temp/feathers-authentication.zip to ./temp/node_modules/
87+
88+
>* I added ukrainien flag in material-ui-country-flags
89+
> Do unzip ./temp/material-ui-country-flags.zip to ./temp/node_modules/
90+
91+
>* Little mod to support Object.entries in mobx-react-matchmedia and update mobx v2.5:
92+
> Do unzip ./temp/mobx-react-matchmedia.zip to ./temp/node_modules/
93+
94+
>* Manual things be sure to remove:
95+
96+
./temp/node_module/mobx-ajv-form/node_module/mobx
97+
./temp/node_module/mobx-ajv-form/node_module/ajv
98+
99+
node_module folders are created improperly by mobx-ajv-form due to the new mobx version
100+
82101

83102
b) install my config with nginx for proxying all listening mysite.com:80 to localhost
84103

@@ -103,33 +122,13 @@ like that we link all my server to localhost
103122
to check the port running it's in config file .env in ./temp
104123

105124

106-
### IMPORTANT before to run:
107-
108-
>* delete the feathers-authentication installed in ./temp/node_modules/
109-
and replace by mine (i did some little hack to make the new work with my config)
110-
> Do unzip ./temp/feathers-authentication.zip to ./temp/node_modules/
111-
112-
>* I added ukrainien flag in material-ui-country-flags
113-
> Do unzip ./temp/material-ui-country-flags.zip to ./temp/node_modules/
114-
115-
>* Little mod to support Object.entries in mobx-react-matchmedia and update mobx v2.5:
116-
> Do unzip ./temp/mobx-react-matchmedia.zip to ./temp/node_modules/
117-
118-
>* Manual things be sure to remove:
119-
120-
./temp/node_module/mobx-ajv-form/node_module/mobx
121-
./temp/node_module/mobx-ajv-form/node_module/ajv
122-
123-
node_module folders are created improperly by mobx-ajv-form due to the new mobx version
124-
125-
126-
127125
### Run APP:
128126

129127
First run nginx simply:
130128
sudo nginx (in super user because we listen 80)
131129

132-
* Run server for feathers (watch mode with debug mode authentication)
130+
* IMPORTANT FIRST
131+
Run server for feathers (watch mode with debug mode authentication)
133132
from ./temp
134133
run:
135134
DEBUG=feathers-authentication:* node bin/server.js

templates/app/README.md

+23-24
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,27 @@ IN root folder of react-app
7777

7878
a) npm install (install babel dependencies)
7979

80-
b) npm run new (this install and deps of MY application in ./temp)
81-
normally i checked all dependencies
80+
b) npm run new (this install and deps of MY application in ./temp)
81+
normally i checked all dependencies
82+
### IMPORTANT before to run:
83+
84+
>* delete the feathers-authentication installed in ./temp/node_modules/
85+
and replace by mine (i did some little hack to make the new work with my config)
86+
> Do unzip ./temp/feathers-authentication.zip to ./temp/node_modules/
87+
88+
>* I added ukrainien flag in material-ui-country-flags
89+
> Do unzip ./temp/material-ui-country-flags.zip to ./temp/node_modules/
90+
91+
>* Little mod to support Object.entries in mobx-react-matchmedia and update mobx v2.5:
92+
> Do unzip ./temp/mobx-react-matchmedia.zip to ./temp/node_modules/
93+
94+
>* Manual things be sure to remove:
95+
96+
./temp/node_module/mobx-ajv-form/node_module/mobx
97+
./temp/node_module/mobx-ajv-form/node_module/ajv
98+
99+
node_module folders are created improperly by mobx-ajv-form due to the new mobx version
100+
82101

83102
b) install my config with nginx for proxying all listening mysite.com:80 to localhost
84103

@@ -103,33 +122,13 @@ like that we link all my server to localhost
103122
to check the port running it's in config file .env in ./temp
104123

105124

106-
### IMPORTANT before to run:
107-
108-
>* delete the feathers-authentication installed in ./temp/node_modules/
109-
and replace by mine (i did some little hack to make the new work with my config)
110-
> Do unzip ./temp/feathers-authentication.zip to ./temp/node_modules/
111-
112-
>* I added ukrainien flag in material-ui-country-flags
113-
> Do unzip ./temp/material-ui-country-flags.zip to ./temp/node_modules/
114-
115-
>* Little mod to support Object.entries in mobx-react-matchmedia and update mobx v2.5:
116-
> Do unzip ./temp/mobx-react-matchmedia.zip to ./temp/node_modules/
117-
118-
>* Manual things be sure to remove:
119-
120-
./temp/node_module/mobx-ajv-form/node_module/mobx
121-
./temp/node_module/mobx-ajv-form/node_module/ajv
122-
123-
node_module folders are created improperly by mobx-ajv-form due to the new mobx version
124-
125-
126-
127125
### Run APP:
128126

129127
First run nginx simply:
130128
sudo nginx (in super user because we listen 80)
131129

132-
* Run server for feathers (watch mode with debug mode authentication)
130+
* IMPORTANT FIRST
131+
Run server for feathers (watch mode with debug mode authentication)
133132
from ./temp
134133
run:
135134
DEBUG=feathers-authentication:* node bin/server.js

0 commit comments

Comments
 (0)