Skip to content

Commit

Permalink
added logic to copy over motd to /etc and to put it into the distribu…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
coleslaw481 committed Jun 26, 2018
1 parent a465096 commit d42ea55
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ dist: clean ## creates distributable package
deep3mdirname=cdeep3m-$$vers ;\
distdir=dist/$$deep3mdirname ;\
/bin/mkdir -p $$distdir ;\
cat aws/motd | sed "s/@@VERSION@@/$${vers}/g" > $$distdir/motd ;\
cp *.m $$distdir/. ;\
cp *.sh $$distdir/. ;\
cp -a scripts $$distdir/. ;\
Expand Down
1 change: 1 addition & 0 deletions aws/basic_cloudformation.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@
"sudo -u ubuntu wget https://s3-us-west-2.amazonaws.com/cdeep3m-releases/${CDEEP3M_VERSION}/cdeep3m-${CDEEP3M_VERSION}.tar.gz\n",
"sudo -u ubuntu tar -xf cdeep3m-${CDEEP3M_VERSION}.tar.gz\n",
"sudo -u ubuntu ln -s /home/ubuntu/cdeep3m-${CDEEP3M_VERSION} /home/ubuntu/cdeep3m\n",
"mv /home/cdeep3m/motd /etc/.\n",
"cd /home/ubuntu\n",
"sudo -u ubuntu wget https://github.com/bats-core/bats-core/archive/v0.4.0.tar.gz\n",
"sudo -u ubuntu tar -zxf v0.4.0.tar.gz\n",
Expand Down
3 changes: 2 additions & 1 deletion aws/motd
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


=======================================
CDeep3M
CDeep3M - @@VERSION@@
=======================================

CDeep3M - Plug-and-Play cloud based deep learning for image segmentation of light, electron and X-ray microscopy
Expand Down Expand Up @@ -30,3 +30,4 @@ ls ~/predictout/ensembled

For further info go to:
https://github.com/CRBS/cdeep3m

0 comments on commit d42ea55

Please sign in to comment.