Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
fengchao-admin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tf-boys
fengchao-admin
Commits
c2d8dc0b
Commit
c2d8dc0b
authored
Aug 08, 2017
by
刘松
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
7d03773e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
24 additions
and
5 deletions
+24
-5
Dockerfile
Dockerfile
+20
-0
app.bundle.js
app/built/app.bundle.js
+2
-2
common.bundle.js
app/built/common.bundle.js
+0
-0
index.js
app/js/index.js
+2
-1
upstreams.bson
distribution/upstreams.bson
+0
-0
upstreams.metadata.json
distribution/upstreams.metadata.json
+0
-2
No files found.
Dockerfile
View file @
c2d8dc0b
FROM
node:7.6
RUN
mkdir
-p
/usr/src/app
WORKDIR
/usr/src/app
COPY
package.json /usr/src/app/
RUN
npm
install
--production
--registry
=
https://registry.npm.taobao.org
# RUN npm install yarn --registry=https://registry.npm.taobao.org
# RUN yarn config set registry https://registry.npm.taobao.org
# RUN yarn config set disturl https://npm.taobao.org/dist
# RUN yarn install
COPY
. /usr/src/app
EXPOSE
9401
CMD
node app.js
\ No newline at end of file
app/built/app.bundle.js
View file @
c2d8dc0b
/*! This file is created by phyllis */
webpackJsonp
([
0
],{
126
:
function
(
m
,
t
){
throw
new
Error
(
"Module build failed: SyntaxError: Unexpected token (23:15)
\n\n
[0m [90m 21 | [39m[36mconst[39m store [33m=[39m [33mStore[39m()[33m;[39m
\n
[90m 22 | [39m[36mconst[39m [33mMain[39m [33m=[39mrequire([32m'../jsx/main.jsx'[39m)[33m;[39m
\n
[31m[1m>[22m[39m[90m 23 | [39m[33mRectDOM[39m[33m.[39mrender([33m<[39m[33mProvider[39m store [33m=[39m { store } [33m>[39m
\n
[90m | [39m [31m[1m^[22m[39m
\n
[90m 24 | [39m
\
t
\
t[33m<[39m[33mdiv[39m style[33m=[39m{{ height[33m:[39m[32m
\"
100%
\"
[39m }}[33m>[39m
\n
[90m 25 | [39m
\
t
\
t
\
t[33m<[39m[33mRouter[39m routes [33m=[39m { routes } history [33m=[39m { browserHistory }[33m/[39m[33m>[39m
\n
[90m 26 | [39m
\
t
\
t[33m<[39m[33m/[39m[33mdiv[39m[33m>[39m[0m
\n
"
)},
263
:
function
(
m
,
t
,
e
){
m
.
exports
=
e
(
126
)}},[
263
]);
\ No newline at end of file
webpackJsonp
([
0
],{
131
:
function
(
m
,
t
){
throw
new
Error
(
"Module build failed: SyntaxError: Unexpected token (24:1)
\n\n
[0m [90m 22 | [39m[36mconst[39m [33mMain[39m [33m=[39mrequire([32m'../jsx/main.jsx'[39m)[33m;[39m
\n
[90m 23 | [39m[33mRectDOM[39m[33m.[39mrender(
\n
[31m[1m>[22m[39m[90m 24 | [39m
\
t[33m<[39m[33mProvider[39m store [33m=[39m { store } [33m>[39m
\n
[90m | [39m
\
t[31m[1m^[22m[39m
\n
[90m 25 | [39m
\
t
\
t[33m<[39m[33mdiv[39m style[33m=[39m{{ height[33m:[39m[32m
\"
100%
\"
[39m }}[33m>[39m
\n
[90m 26 | [39m
\
t
\
t
\
t[33m<[39m[33mRouter[39m routes [33m=[39m { routes } history [33m=[39m { browserHistory }[33m/[39m[33m>[39m
\n
[90m 27 | [39m
\
t
\
t[33m<[39m[33m/[39m[33mdiv[39m[33m>[39m[0m
\n
"
)},
270
:
function
(
m
,
t
,
e
){
m
.
exports
=
e
(
131
)}},[
270
]);
\ No newline at end of file
app/built/common.bundle.js
View file @
c2d8dc0b
This diff is collapsed.
Click to expand it.
app/js/index.js
View file @
c2d8dc0b
...
...
@@ -20,7 +20,8 @@ const ReduxDevTools = require('./store').ReduxDevTools;
const
store
=
Store
();
const
Main
=
require
(
'../jsx/main.jsx'
);
RectDOM
.
render
(
<
Provider
store
=
{
store
}
>
RectDOM
.
render
(
<
Provider
store
=
{
store
}
>
<
div
style
=
{{
height
:
"100%"
}}
>
<
Router
routes
=
{
routes
}
history
=
{
browserHistory
}
/
>
<
/div
>
...
...
distribution/upstreams.bson
deleted
100644 → 0
View file @
7d03773e
File deleted
distribution/upstreams.metadata.json
deleted
100644 → 0
View file @
7d03773e
{
"options"
:{},
"indexes"
:[{
"ns"
:
"distribution.upstreams"
,
"v"
:
1
,
"key"
:{
"_id"
:
1
},
"name"
:
"_id_"
},{
"v"
:
1
,
"key"
:{
"account"
:
1
,
"platform"
:
1
},
"name"
:
"account_1_platform_1"
,
"ns"
:
"distribution.upstreams"
,
"background"
:
true
}]}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment