Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mcotton-v1
Overview
Overview
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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
mCotton
mcotton-v1
Commits
1583e8ec
Commit
1583e8ec
authored
Dec 08, 2016
by
Hao Chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chenge dockerfile and add start.sh
parent
cb25c780
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
47 additions
and
133 deletions
+47
-133
workspace.xml
.idea/workspace.xml
+38
-130
Dockerfile
Dockerfile
+4
-3
start_mcotton.sh
start_mcotton.sh
+5
-0
No files found.
.idea/workspace.xml
View file @
1583e8ec
...
...
@@ -2,12 +2,9 @@
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"2e5af44c-1b55-4cba-bd4e-692506760c8b"
name=
"Default"
comment=
""
>
<change
type=
"DELETED"
beforePath=
"$PROJECT_DIR$/.idea/libraries/mcotton_v1_node_modules.xml"
afterPath=
""
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/.idea/libraries/meteor_packages_auto_import_browser.xml"
afterPath=
"$PROJECT_DIR$/.idea/libraries/meteor_packages_auto_import_browser.xml"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/.idea/mcotton-v1.iml"
afterPath=
"$PROJECT_DIR$/.idea/mcotton-v1.iml"
/>
<change
type=
"NEW"
beforePath=
""
afterPath=
"$PROJECT_DIR$/start_mcotton.sh"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/Dockerfile"
afterPath=
"$PROJECT_DIR$/Dockerfile"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/README.md"
afterPath=
"$PROJECT_DIR$/README.md"
/>
</list>
<ignored
path=
"mcotton-v1.iws"
/>
<ignored
path=
".idea/workspace.xml"
/>
...
...
@@ -31,18 +28,28 @@
<entry
file=
"file://$PROJECT_DIR$/Dockerfile"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"270"
>
<caret
line=
"18"
column=
"
4"
lean-forward=
"true"
selection-start-line=
"18"
selection-start-column=
"4"
selection-end-line=
"18"
selection-end-column=
"118
"
/>
<caret
line=
"18"
column=
"
36"
lean-forward=
"true"
selection-start-line=
"18"
selection-start-column=
"6"
selection-end-line=
"18"
selection-end-column=
"36
"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"README.md"
pinned=
"false"
current-in-tab=
"true"
>
<file
leaf-file-name=
"start_mcotton.sh"
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/start_mcotton.sh"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"30"
>
<caret
line=
"2"
column=
"102"
lean-forward=
"true"
selection-start-line=
"2"
selection-start-column=
"102"
selection-end-line=
"2"
selection-end-column=
"102"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"README.md"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/README.md"
>
<provider
selected=
"true"
editor-type-id=
"split-provider[text-editor;markdown-preview-editor]"
>
<state
split_layout=
"SPLIT"
>
<first_editor
relative-caret-position=
"
301
"
>
<caret
line=
"11
6"
column=
"22"
lean-forward=
"true"
selection-start-line=
"116"
selection-start-column=
"22"
selection-end-line=
"116"
selection-end-column=
"22
"
/>
<first_editor
relative-caret-position=
"
256
"
>
<caret
line=
"11
3"
column=
"0"
lean-forward=
"true"
selection-start-line=
"113"
selection-start-column=
"0"
selection-end-line=
"113"
selection-end-column=
"0
"
/>
<folding
/>
</first_editor>
<second_editor
/>
...
...
@@ -79,9 +86,10 @@
<option
value=
"$PROJECT_DIR$/app/server/fixtures.js"
/>
<option
value=
"$PROJECT_DIR$/.gitignore"
/>
<option
value=
"$PROJECT_DIR$/app/client/templates/home/home.js"
/>
<option
value=
"$PROJECT_DIR$/README.md"
/>
<option
value=
"$PROJECT_DIR$/.env"
/>
<option
value=
"$PROJECT_DIR$/README.md"
/>
<option
value=
"$PROJECT_DIR$/Dockerfile"
/>
<option
value=
"$PROJECT_DIR$/start_mcotton.sh"
/>
</list>
</option>
</component>
...
...
@@ -131,114 +139,6 @@
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"mcotton-v1"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"mcotton-v1"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"docs"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"mcotton-v1"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"mcotton-v1"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"app"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"mcotton-v1"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"mcotton-v1"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"app"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"client"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"mcotton-v1"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"mcotton-v1"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"app"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"client"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"templates"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"mcotton-v1"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"mcotton-v1"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"app"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"client"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"templates"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"home"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"mcotton-v1"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"mcotton-v1"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
".meteor"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
</subPane>
</pane>
</panes>
...
...
@@ -348,16 +248,16 @@
<updated>
1470845079618
</updated>
<workItem
from=
"1481118331939"
duration=
"4176000"
/>
<workItem
from=
"1481163956581"
duration=
"23000"
/>
<workItem
from=
"1481164370400"
duration=
"
443
0000"
/>
<workItem
from=
"1481164370400"
duration=
"
718
0000"
/>
</task>
<servers
/>
</component>
<component
name=
"TimeTrackingManager"
>
<option
name=
"totallyTimeSpent"
value=
"
862
9000"
/>
<option
name=
"totallyTimeSpent"
value=
"
1137
9000"
/>
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"54"
y=
"23"
width=
"1276"
height=
"777"
extended-state=
"0"
/>
<editor
active=
"
fals
e"
/>
<editor
active=
"
tru
e"
/>
<layout>
<window_info
id=
"Project"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.24701196"
sideWeight=
"0.5"
order=
"0"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"TODO"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"6"
side_tool=
"false"
content_ui=
"tabs"
/>
...
...
@@ -365,7 +265,7 @@
<window_info
id=
"Version Control"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"npm"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"2"
side_tool=
"true"
content_ui=
"tabs"
/>
<window_info
id=
"Structure"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.25"
sideWeight=
"0.5"
order=
"1"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Terminal"
active=
"
tru
e"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.329927"
sideWeight=
"0.5"
order=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Terminal"
active=
"
fals
e"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.329927"
sideWeight=
"0.5"
order=
"7"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Favorites"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"2"
side_tool=
"true"
content_ui=
"tabs"
/>
<window_info
id=
"Cvs"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.25"
sideWeight=
"0.5"
order=
"4"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Message"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"0"
side_tool=
"false"
content_ui=
"tabs"
/>
...
...
@@ -490,22 +390,30 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/README.md"
>
<provider
selected=
"true"
editor-type-id=
"split-provider[text-editor;markdown-preview-editor]"
>
<state
split_layout=
"SPLIT"
>
<first_editor
relative-caret-position=
"256"
>
<caret
line=
"113"
column=
"0"
lean-forward=
"true"
selection-start-line=
"113"
selection-start-column=
"0"
selection-end-line=
"113"
selection-end-column=
"0"
/>
<folding
/>
</first_editor>
<second_editor
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Dockerfile"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"270"
>
<caret
line=
"18"
column=
"
4"
lean-forward=
"true"
selection-start-line=
"18"
selection-start-column=
"4"
selection-end-line=
"18"
selection-end-column=
"118
"
/>
<caret
line=
"18"
column=
"
36"
lean-forward=
"true"
selection-start-line=
"18"
selection-start-column=
"6"
selection-end-line=
"18"
selection-end-column=
"36
"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/README.md"
>
<provider
selected=
"true"
editor-type-id=
"split-provider[text-editor;markdown-preview-editor]"
>
<state
split_layout=
"SPLIT"
>
<first_editor
relative-caret-position=
"301"
>
<caret
line=
"116"
column=
"22"
lean-forward=
"true"
selection-start-line=
"116"
selection-start-column=
"22"
selection-end-line=
"116"
selection-end-column=
"22"
/>
<folding
/>
</first_editor>
<second_editor
/>
<entry
file=
"file://$PROJECT_DIR$/start_mcotton.sh"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"30"
>
<caret
line=
"2"
column=
"102"
lean-forward=
"true"
selection-start-line=
"2"
selection-start-column=
"102"
selection-end-line=
"2"
selection-end-column=
"102"
/>
<folding
/>
</state>
</provider>
</entry>
...
...
Dockerfile
View file @
1583e8ec
...
...
@@ -15,5 +15,6 @@ ENV LC_ALL en_US.UTF-8
RUN
curl
-sL
https://install.meteor.com | /bin/sh
RUN
mkdir /data
&&
cd
/data
&&
git clone https://git.microduino.cn/mCotton/mcotton-v1.git
&&
cd
mcotton-v1
RUN
meteor update
--allow-superuser
--all-packages
&&
meteor npm install
&&
meteor npm install
--save
bcrypt
&&
meteor reset
--allow-superuser
RUN
MONGO_URL
=
mongodb://mongodb/mcotton_v1
mqttDbUrl
=
mongodb://mongodb/mqtt meteor
--allow-superuser
--release
1.4.2.3
\ No newline at end of file
# RUN meteor update --allow-superuser --all-packages && meteor npm install
# RUN meteor reset --allow-superuser
# RUN MONGO_URL=mongodb://mongodb/mcotton_v1 mqttDbUrl=mongodb://mongodb/mqtt meteor --allow-superuser --release 1.4.2.3
\ No newline at end of file
start_mcotton.sh
0 → 100644
View file @
1583e8ec
#!/bin/bash
MONGO_URL
=
mongodb://mongodb/mcotton_v1
mqttDbUrl
=
mongodb://mongodb/mqtt meteor reset
--allow-superuser
MONGO_URL
=
mongodb://mongodb/mcotton_v1
mqttDbUrl
=
mongodb://mongodb/mqtt meteor
--allow-superuser
--release
1.4.2.3
\ 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