Commit 314c521e by Hao Chen

change upload folder to /data

parent 4877e33e
......@@ -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="true">
<file leaf-file-name="footer.html" pinned="false" current-in-tab="false">
<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="7631000" />
<workItem from="1481164370400" duration="8080000" />
</task>
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="11830000" />
<option name="totallyTimeSpent" value="12279000" />
</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
......@@ -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",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment