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
314c521e
Commit
314c521e
authored
Dec 08, 2016
by
Hao Chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change upload folder to /data
parent
4877e33e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
66 additions
and
48 deletions
+66
-48
workspace.xml
.idea/workspace.xml
+64
-46
0_fsstore.js
app/lib/collections/0_fsstore.js
+2
-2
No files found.
.idea/workspace.xml
View file @
314c521e
...
...
@@ -2,7 +2,7 @@
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"2e5af44c-1b55-4cba-bd4e-692506760c8b"
name=
"Default"
comment=
""
>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/
.idea/workspace.xml"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml
"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/
app/lib/collections/0_fsstore.js"
afterPath=
"$PROJECT_DIR$/app/lib/collections/0_fsstore.js
"
/>
</list>
<ignored
path=
"mcotton-v1.iws"
/>
<ignored
path=
".idea/workspace.xml"
/>
...
...
@@ -52,7 +52,7 @@
</provider>
</entry>
</file>
<file
leaf-file-name=
"footer.html"
pinned=
"false"
current-in-tab=
"
tru
e"
>
<file
leaf-file-name=
"footer.html"
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/app/client/templates/includes/footer.html"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"302"
>
...
...
@@ -62,6 +62,36 @@
</provider>
</entry>
</file>
<file
leaf-file-name=
".gitignore"
pinned=
"false"
current-in-tab=
"false"
>
<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>
</file>
<file
leaf-file-name=
"config.js"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/app/server/config.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-75"
>
<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>
</file>
<file
leaf-file-name=
"0_fsstore.js"
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/app/lib/collections/0_fsstore.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-18"
>
<caret
line=
"59"
column=
"39"
lean-forward=
"true"
selection-start-line=
"59"
selection-start-column=
"39"
selection-end-line=
"59"
selection-end-column=
"39"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"start_mcotton.sh"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/start_mcotton.sh"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
...
...
@@ -119,6 +149,7 @@
<option
value=
"$PROJECT_DIR$/start_mcotton.sh"
/>
<option
value=
"$PROJECT_DIR$/Dockerfile"
/>
<option
value=
"$PROJECT_DIR$/app/client/templates/includes/footer.html"
/>
<option
value=
"$PROJECT_DIR$/app/lib/collections/0_fsstore.js"
/>
</list>
</option>
</component>
...
...
@@ -181,22 +212,8 @@
<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=
"myItemId"
value=
"server"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
...
...
@@ -214,11 +231,7 @@
<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=
"myItemId"
value=
"lib"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
...
...
@@ -236,15 +249,11 @@
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
<PATH_ELEMENT>
<option
name=
"myItemId"
value=
"
client
"
/>
<option
name=
"myItemId"
value=
"
lib
"
/>
<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=
"includes"
/>
<option
name=
"myItemId"
value=
"collections"
/>
<option
name=
"myItemType"
value=
"com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode"
/>
</PATH_ELEMENT>
</PATH>
...
...
@@ -265,14 +274,6 @@
<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>
</subPane>
</pane>
...
...
@@ -383,12 +384,12 @@
<updated>
1470845079618
</updated>
<workItem
from=
"1481118331939"
duration=
"4176000"
/>
<workItem
from=
"1481163956581"
duration=
"23000"
/>
<workItem
from=
"1481164370400"
duration=
"
7631
000"
/>
<workItem
from=
"1481164370400"
duration=
"
8080
000"
/>
</task>
<servers
/>
</component>
<component
name=
"TimeTrackingManager"
>
<option
name=
"totallyTimeSpent"
value=
"1
1830
000"
/>
<option
name=
"totallyTimeSpent"
value=
"1
2279
000"
/>
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"54"
y=
"23"
width=
"1276"
height=
"777"
extended-state=
"0"
/>
...
...
@@ -487,14 +488,6 @@
</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$/.meteor/release"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"15"
>
...
...
@@ -562,5 +555,29 @@
</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/server/config.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-75"
>
<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$/app/lib/collections/0_fsstore.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-18"
>
<caret
line=
"59"
column=
"39"
lean-forward=
"true"
selection-start-line=
"59"
selection-start-column=
"39"
selection-end-line=
"59"
selection-end-column=
"39"
/>
<folding
/>
</state>
</provider>
</entry>
</component>
</project>
\ No newline at end of file
app/lib/collections/0_fsstore.js
View file @
314c521e
...
...
@@ -53,8 +53,8 @@ Stores = {};
// FS System base
/////////////////
//
SYS_BASE = "/data"; // all upload images and files will be stored in this folder, please make sure you have access rights.
SYS_BASE
=
"/Users/chenhao"
;
SYS_BASE
=
"/data"
;
// all upload images and files will be stored in this folder, please make sure you have access rights.
//
SYS_BASE = "/Users/chenhao";
Stores
.
images
=
new
FS
.
Store
.
FileSystem
(
"images"
,
{
path
:
SYS_BASE
+
"/uploads/images"
,
...
...
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