Skip to content

Commit 1789b86

Browse files
committed
upgrade structure
1 parent f7f45bc commit 1789b86

File tree

661 files changed

+29077
-15627
lines changed

Some content is hidden

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

661 files changed

+29077
-15627
lines changed

Dockerfile

+2-3
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,16 @@
1818

1919
FROM node:slim
2020

21-
ADD . /opt/dashboard
21+
ADD . /opt/control-plane
2222

23-
WORKDIR /opt/dashboard
23+
WORKDIR /opt/control-plane
2424

2525
ENV NODE_ENV='development'
2626

2727
RUN npm install -g create-react-app
2828

2929
RUN npm install
3030

31-
3231
EXPOSE 3000
3332

3433
CMD ["npm","start"]

Makefile

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ clean:
1616
start:
1717
echo "start new docker dashboard image"
1818
docker run -i -t -d --name=dashboard \
19-
-v /opt/src/github.com/lastbackend/dashboard/src:/opt/dashboard/src:rw \
20-
-v /opt/src/github.com/lastbackend/dashboard/public:/opt/dashboard/public:rw \
19+
-v /opt/src/github.com/lastbackend/control-plane/src:/opt/control-plane/src:rw \
20+
-v /opt/src/github.com/lastbackend/control-plane/public:/opt/control-plane/public:rw \
21+
-v /opt/src/github.com/lastbackend/control-plane/.env:/opt/control-plane/.env:rw \
2122
--restart=always --net=host -p 3000:3000 lastbackend/dashboard npm start
2223

2324
stop:

package.json

+10-8
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,29 @@
33
"homepage": "http://localhost:4000",
44
"version": "0.1.0",
55
"private": true,
6-
"devDependencies": {
7-
"react-scripts": "0.9.5"
8-
},
96
"dependencies": {
7+
"amdefine": "^1.0.1",
108
"classnames": "^2.2.5",
119
"is-retina": "1.0.3",
10+
"lodash": "^4.17.4",
1211
"material-ui": "0.17.4",
1312
"md5": "2.2.1",
13+
"prop-types": "latest",
1414
"query-string": "4.2.3",
15-
"react": "^15.4.0",
16-
"react-dom": "^15.4.0",
15+
"react": "^15.6.1",
16+
"react-clipboard": "^1.3.1",
17+
"react-dom": "^15.6.1",
18+
"react-markdown": "^2.5.0 ",
1719
"react-redux": "^4.4.6",
1820
"react-redux-toastr": "^4.4.6",
1921
"react-router": "^3.0.0",
2022
"react-router-redux": "^4.0.7",
23+
"react-scripts": "1.0.10",
2124
"react-tap-event-plugin": "v2.0.1",
2225
"react-timestamp": "^3.1.0",
23-
"redux": "^3.6.0",
26+
"redux": "^3.7.1",
2427
"redux-logger": "^2.7.4",
25-
"redux-thunk": "^2.1.0",
26-
"prop-types": "latest"
28+
"redux-thunk": "^2.1.0"
2729
},
2830
"scripts": {
2931
"start": "react-scripts start",

0 commit comments

Comments
 (0)