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
71c99cc8
Commit
71c99cc8
authored
Dec 08, 2016
by
Hao Chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change dockerfile
parent
74bf9627
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
120 additions
and
70 deletions
+120
-70
mcotton_v1_node_modules.xml
.idea/libraries/mcotton_v1_node_modules.xml
+0
-15
meteor_packages_auto_import_browser.xml
.idea/libraries/meteor_packages_auto_import_browser.xml
+0
-0
mcotton-v1.iml
.idea/mcotton-v1.iml
+3
-0
workspace.xml
.idea/workspace.xml
+86
-53
Dockerfile
Dockerfile
+20
-1
README.md
README.md
+11
-1
No files found.
.idea/libraries/mcotton_v1_node_modules.xml
deleted
100644 → 0
View file @
74bf9627
<component
name=
"libraryTable"
>
<library
name=
"mcotton-v1 node_modules"
type=
"javaScript"
>
<properties>
<option
name=
"frameworkName"
value=
"node_modules"
/>
<sourceFilesUrls>
<item
url=
"file://$PROJECT_DIR$/node_modules"
/>
</sourceFilesUrls>
</properties>
<CLASSES>
<root
url=
"file://$PROJECT_DIR$/node_modules"
/>
</CLASSES>
<SOURCES
/>
</library>
</component>
\ No newline at end of file
.idea/libraries/meteor_packages_auto_import_browser.xml
View file @
71c99cc8
This source diff could not be displayed because it is too large. You can
view the blob
instead.
.idea/mcotton-v1.iml
View file @
71c99cc8
...
...
@@ -6,5 +6,7 @@
</content>
<orderEntry
type=
"inheritedJdk"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
<orderEntry
type=
"library"
name=
"meteor-packages-auto-import-browser"
level=
"project"
/>
<orderEntry
type=
"library"
name=
"meteor-packages-auto-import-npm"
level=
"project"
/>
</component>
</module>
\ No newline at end of file
.idea/workspace.xml
View file @
71c99cc8
...
...
@@ -2,8 +2,12 @@
<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=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/app/client/templates/home/home.js"
afterPath=
"$PROJECT_DIR$/app/client/templates/home/home.js"
/>
<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"
/>
...
...
@@ -23,22 +27,25 @@
</component>
<component
name=
"FileEditorManager"
>
<leaf>
<file
leaf-file-name=
"
home.html
"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/
app/client/templates/home/home.html
"
>
<file
leaf-file-name=
"
Dockerfile
"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/
Dockerfile
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"
0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0
"
/>
<state
relative-caret-position=
"
27
0"
>
<caret
line=
"
18"
column=
"4"
lean-forward=
"true"
selection-start-line=
"18"
selection-start-column=
"4"
selection-end-line=
"18"
selection-end-column=
"118
"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"home.js"
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/app/client/templates/home/home.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"176"
>
<caret
line=
"48"
column=
"14"
lean-forward=
"true"
selection-start-line=
"48"
selection-start-column=
"14"
selection-end-line=
"48"
selection-end-column=
"14"
/>
<file
leaf-file-name=
"README.md"
pinned=
"false"
current-in-tab=
"true"
>
<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
/>
</state>
</provider>
</entry>
...
...
@@ -72,6 +79,9 @@
<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$/Dockerfile"
/>
</list>
</option>
</component>
...
...
@@ -131,6 +141,20 @@
<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>
...
...
@@ -322,25 +346,26 @@
<option
name=
"number"
value=
"Default"
/>
<option
name=
"presentableId"
value=
"Default"
/>
<updated>
1470845079618
</updated>
<workItem
from=
"1481118331939"
duration=
"4082000"
/>
<workItem
from=
"1481118331939"
duration=
"4176000"
/>
<workItem
from=
"1481163956581"
duration=
"23000"
/>
<workItem
from=
"1481164370400"
duration=
"4430000"
/>
</task>
<servers
/>
</component>
<component
name=
"TimeTrackingManager"
>
<option
name=
"totallyTimeSpent"
value=
"
4082
000"
/>
<option
name=
"totallyTimeSpent"
value=
"
8629
000"
/>
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"54"
y=
"23"
width=
"1276"
height=
"777"
extended-state=
"0"
/>
<editor
active=
"
tru
e"
/>
<editor
active=
"
fals
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.24
860558
"
sideWeight=
"0.5"
order=
"0"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Project"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.24
701196
"
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"
/>
<window_info
id=
"Event Log"
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=
"true"
content_ui=
"tabs"
/>
<window_info
id=
"Find"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.329927"
sideWeight=
"0.5"
order=
"1"
side_tool=
"false"
content_ui=
"tabs"
/>
<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=
"
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=
"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=
"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"
/>
...
...
@@ -348,6 +373,7 @@
<window_info
id=
"Inspection"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.4"
sideWeight=
"0.5"
order=
"5"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Run"
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=
"2"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Hierarchy"
active=
"false"
anchor=
"right"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.25"
sideWeight=
"0.5"
order=
"2"
side_tool=
"false"
content_ui=
"combo"
/>
<window_info
id=
"Find"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.329927"
sideWeight=
"0.5"
order=
"1"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Ant Build"
active=
"false"
anchor=
"right"
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=
"Debug"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.4"
sideWeight=
"0.5"
order=
"3"
side_tool=
"false"
content_ui=
"tabs"
/>
</layout>
...
...
@@ -363,18 +389,10 @@
<watches-manager
/>
</component>
<component
name=
"editorHistoryManager"
>
<entry
file=
"file://$PROJECT_DIR$/.env"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"1"
column=
"18"
lean-forward=
"false"
selection-start-line=
"1"
selection-start-column=
"18"
selection-end-line=
"1"
selection-end-column=
"18"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/.meteor/.gitignore"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
...
...
@@ -382,7 +400,6 @@
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"180"
>
<caret
line=
"12"
column=
"22"
lean-forward=
"true"
selection-start-line=
"12"
selection-start-column=
"22"
selection-end-line=
"12"
selection-end-column=
"22"
/>
<folding
/>
</state>
</provider>
</entry>
...
...
@@ -390,7 +407,6 @@
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"30"
>
<caret
line=
"50"
column=
"19"
lean-forward=
"true"
selection-start-line=
"50"
selection-start-column=
"19"
selection-end-line=
"50"
selection-end-column=
"19"
/>
<folding
/>
</state>
</provider>
</entry>
...
...
@@ -398,23 +414,6 @@
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"75"
>
<caret
line=
"5"
column=
"23"
lean-forward=
"false"
selection-start-line=
"5"
selection-start-column=
"23"
selection-end-line=
"5"
selection-end-column=
"23"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/.meteor/release"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/.gitignore"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"6"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"6"
selection-end-line=
"0"
selection-end-column=
"6"
/>
<folding
/>
</state>
</provider>
</entry>
...
...
@@ -422,9 +421,6 @@
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"165"
>
<caret
line=
"24"
column=
"13"
lean-forward=
"true"
selection-start-line=
"24"
selection-start-column=
"13"
selection-end-line=
"24"
selection-end-column=
"13"
/>
<folding>
<element
signature=
"n#!!doc"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
...
...
@@ -432,7 +428,6 @@
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1457"
>
<caret
line=
"158"
column=
"18"
lean-forward=
"true"
selection-start-line=
"158"
selection-start-column=
"18"
selection-end-line=
"158"
selection-end-column=
"18"
/>
<folding
/>
</state>
</provider>
</entry>
...
...
@@ -440,7 +435,6 @@
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
...
...
@@ -448,7 +442,6 @@
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
...
...
@@ -456,7 +449,13 @@
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"236"
>
<caret
line=
"130"
column=
"95"
lean-forward=
"false"
selection-start-line=
"130"
selection-start-column=
"95"
selection-end-line=
"130"
selection-end-column=
"95"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/app/client/templates/home/home.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"296"
>
<caret
line=
"56"
column=
"14"
lean-forward=
"true"
selection-start-line=
"56"
selection-start-column=
"14"
selection-end-line=
"56"
selection-end-column=
"14"
/>
</state>
</provider>
</entry>
...
...
@@ -464,15 +463,49 @@
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"0"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/.gitignore"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"15"
>
<caret
line=
"1"
column=
"12"
lean-forward=
"true"
selection-start-line=
"1"
selection-start-column=
"12"
selection-end-line=
"1"
selection-end-column=
"12"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/app/client/templates/home/home.js"
>
<entry
file=
"file://$PROJECT_DIR$/.meteor/release"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"15"
>
<caret
line=
"1"
column=
"0"
lean-forward=
"true"
selection-start-line=
"1"
selection-start-column=
"0"
selection-end-line=
"1"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/.env"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"176"
>
<caret
line=
"48"
column=
"14"
lean-forward=
"true"
selection-start-line=
"48"
selection-start-column=
"14"
selection-end-line=
"48"
selection-end-column=
"14"
/>
<state
relative-caret-position=
"15"
>
<caret
line=
"1"
column=
"18"
lean-forward=
"true"
selection-start-line=
"1"
selection-start-column=
"18"
selection-end-line=
"1"
selection-end-column=
"18"
/>
<folding
/>
</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"
/>
<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
/>
</state>
</provider>
</entry>
...
...
Dockerfile
View file @
71c99cc8
FROM
cuckoohello/meteord:onbuild
FROM
nginx
RUN
sed
-i
's/httpredir.debian.org/mirrors.ustc.edu.cn/g'
/etc/apt/sources.list
&&
apt-get update
&&
\
apt-get install
-y
--no-install-recommends
wget xz-utils g++
&&
apt-get clean
RUN
apt-get install
-y
--no-install-recommends
ca-certificates unzip make bzip2 curl git python2.7 graphicsmagick
&&
\
apt-get clean
&&
ln
-s
/usr/bin/python2.7 /usr/bin/python
RUN
echo
"Asia/Shanghai"
>
/etc/timezone
&&
dpkg-reconfigure
-f
noninteractive tzdata
&&
\
apt-get install
-y
--no-install-recommends
locales
&&
echo
'en_US.UTF-8 UTF-8'
>>
/etc/locale.gen
&&
locale-gen
&&
update-locale
LANG
=
en_US.UTF-8
&&
\
apt-get clean
ENV
LC_ALL en_US.UTF-8
RUN
curl
-sL
https://install.meteor.com | /bin/sh
RUN
cd
/data
&&
git clone https://git.microduino.cn/mCotton/mcotton-v1
&&
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
README.md
View file @
71c99cc8
...
...
@@ -90,7 +90,6 @@ mCotton 是 server , httpclient*.js 是访问他的Node.js客户端
![
docs/mcotton_01.png
](
docs/mcotton_01.png
)
**
On meteor 1.4, Account admin has bug and can't used.
If you want to set your admin, you can change the file : /app/server/fixtures.js
# Projects
...
...
@@ -106,3 +105,13 @@ If you want to set your admin, you can change the file : /app/server/fixtures.js
## Smart Vulture Egg
详情参见
[
egg.md
](
docs/egg.md
)
# Docker build
docker build -t mcotton_v1 .
# Docker run
docker run -d -p 27017:27017 --name mymongo -v $(cd ~ && pwd)/data/mongo:/data mongo
docker run -d -p 3000:3000 -p 1883:1883 --link mymongo:mongodb --name mcotton_v1 -v $(cd ~ && pwd)/data/mcotton_v1:/data -w /data mcotton_v1
\ 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