Repository: incubator-senssoft-tap
Updated Branches:
  refs/heads/master 839be021d -> 107c43ece


Modified gulp tasks


Project: http://git-wip-us.apache.org/repos/asf/incubator-senssoft-tap/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-tap/commit/107c43ec
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-tap/tree/107c43ec
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-senssoft-tap/diff/107c43ec

Branch: refs/heads/master
Commit: 107c43ece45894c48dfc8c1eaaf157224d3c2db5
Parents: 839be02
Author: Arthi Vezhavendan <arthi...@gmail.com>
Authored: Tue Nov 22 10:47:47 2016 -0500
Committer: Arthi Vezhavendan <arthi...@gmail.com>
Committed: Tue Nov 22 10:47:47 2016 -0500

----------------------------------------------------------------------
 Dockerfile         | 22 ++++++++++++++++++++++
 docker-compose.yml | 26 ++++++++++++++++++++++++++
 gulpfile.babel.js  |  4 ++--
 3 files changed, 50 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-senssoft-tap/blob/107c43ec/Dockerfile
----------------------------------------------------------------------
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..6b37aab
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,22 @@
+FROM python:3.4
+
+echo "curl"
+RUN curl -sL https://deb.nodesource.com/setup | bash -
+
+echo "apt-get"
+RUN apt-get -y install nodejs
+
+
+RUN mkdir -p /usr/src/app
+WORKDIR /usr/src/app
+COPY . /usr/src/app
+
+RUN pip install -r requirements.txt
+
+RUN npm install -g gulp
+RUN npm install 
+
+RUN python manage.py runserver 0.0.0.0:8000
+RUN gulp dev
+
+EXPOSE 8000

http://git-wip-us.apache.org/repos/asf/incubator-senssoft-tap/blob/107c43ec/docker-compose.yml
----------------------------------------------------------------------
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 0000000..400e03b
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,26 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Apache TAP Production Docker build
+
+version: "2"
+services:
+  tap:
+    build: 
+        context: .
+        dockerfile: Dockerfile 
+    container_name: tap
+    ports:
+      - 8000:8000

http://git-wip-us.apache.org/repos/asf/incubator-senssoft-tap/blob/107c43ec/gulpfile.babel.js
----------------------------------------------------------------------
diff --git a/gulpfile.babel.js b/gulpfile.babel.js
index 2043e13..3fc64e7 100644
--- a/gulpfile.babel.js
+++ b/gulpfile.babel.js
@@ -37,9 +37,9 @@ gulp.task('build', () => {
     'clean',
     [
       'styles:build',
-      'js'
+      'js:bulid'
     ],
-    'symlink'
+    //'symlink'
   );
 });
 

Reply via email to