arnaucube
arnaucube/commonroutesLandingPagePublic Self-hosted repository
added Dockerfile with all the autonomous installation
arnaucode arnaucode@gmail.com
Sun, 22 Oct 2017 20:25:17 +0200
commit

fb9856a0d99324bbb350ae8ab182b776c341cd3f

parent

27f110f1baa34d9325cfe18604be3522293f63e3

4 files changed, 61 insertions(+), 5 deletions(-)

jump to
A Dockerfile

@@ -0,0 +1,26 @@

+FROM node:4 + +ENV HTTP_SERVER_VERSION 0.9.0 +ENV PUBLIC_FOLDER /commonroutesLandingPage + +RUN mkdir -p $PUBLIC_FOLDER +RUN npm install -g http-server@0.9.0 +RUN npm install -g bower + +RUN git clone https://github.com/arnaucode/commonroutesLandingPage.git + +RUN cd commonroutesLandingPage && \ + git clone https://github.com/arnaucode/commonroutesWebApp.git +RUN cd commonroutesLandingPage/commonroutesWebApp && \ + npm install && \ + bower install --allow-root + +RUN cd commonroutesLandingPage && \ + mv commonroutesWebApp app + +CMD http-server $PUBLIC_FOLDER + +EXPOSE 8085 + +#docker build -t landingpage . +#docker run -ti -d -p 80:8080 landingpage
M README.md → README.md

@@ -1,1 +1,28 @@

-# commonroutesLandingPage+# commonroutesLandingPage + +# Instructions +1 - download the repository (just need the Dockerfile) + +2 - build the docker image +``` +docker build -t webCommonRoutes . +``` +3 - launch a container with the image +``` +docker run -ti -d -p 80:8080 webCommonRoutes +``` + +The landingpage && webapp will be able in the ip/domain. + + + + +- server code: https://github.com/arnaucode/commonroutesServer +- frontend app code: https://github.com/arnaucode/commonroutesApp +- frontend webapp code: https://github.com/arnaucode/commonroutesWebApp +- images server: https://github.com/arnaucode/goImgServer +- admin web: https://github.com/arnaucode/commonroutesAdminWeb +- landing page: https://github.com/arnaucode/commonroutesLandingPage + +send files over ssh +scp dataset.tar.gz root@SERVERIP:/root/galdric
M css/grayscale.css → css/grayscale.css

@@ -62,7 +62,7 @@ }

a:hover, a:focus { text-decoration: none; - color: #1390ab; + color: #633ea8; } .light { font-weight: 400;
M index.html → index.html

@@ -58,6 +58,9 @@ <li class="hidden">

<a href="#page-top"></a> </li> <li> + <a class="page-scroll" href="../commonroutesWebApp">Access App</a> + </li> + <li> <a class="page-scroll" href="#download">Download</a> </li> <li>

@@ -108,7 +111,7 @@ </div>

<div class="col-lg-3 col-md-6 text-center"> <div class="service-box"> <i class="fa fa-4x fa-pencil-square-o text-primary sr-icons"></i> - <h3>Post a travel</h3> + <h3>Post travels</h3> <p class="text-muted"> Can post 3 types of travel: offer car, ask for car, send package </p>

@@ -128,7 +131,7 @@ <div class="service-box">

<i class="fa fa-4x fa-users text-primary sr-icons"></i> <h3>Make comunity</h3> <p class="text-muted"> - Enjoi the Common Routes community + Enjoy the Common Routes community </p> </div> </div>

@@ -193,7 +196,7 @@ <!-- Footer -->

<footer> <div class="container text-center"> <p> - <a href="http://arnaucode.com" target="_blank">ArnauCode 2017</a> + <a href="http://arnaucode.com" target="_blank" style="font-size:60%;">ArnauCode 2017</a> </p> </div> </footer>