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
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
workspace.xml
.idea/workspace.xml
+0
-0
Dockerfile
Dockerfile
+4
-3
start_mcotton.sh
start_mcotton.sh
+5
-0
No files found.
.idea/workspace.xml
View file @
1583e8ec
This diff is collapsed.
Click to expand it.
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