Added dockerignore file.
Project: http://git-wip-us.apache.org/repos/asf/incubator-senssoft/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-senssoft/commit/49ec9055 Tree: http://git-wip-us.apache.org/repos/asf/incubator-senssoft/tree/49ec9055 Diff: http://git-wip-us.apache.org/repos/asf/incubator-senssoft/diff/49ec9055 Branch: refs/heads/asf-site Commit: 49ec9055fa9888ccbd1729b2df038452bca20ed9 Parents: c593cd0 Author: msb3399 <mbe...@draper.com> Authored: Thu May 25 18:25:40 2017 -0400 Committer: msb3399 <mbe...@draper.com> Committed: Thu May 25 18:25:40 2017 -0400 ---------------------------------------------------------------------- site/.dockerignore | 5 +++++ site/README.md | 8 ++++---- site/_site/CHANGELOG.md | 12 ------------ site/_site/Dockerfile | 26 -------------------------- site/_site/README.md | 16 ---------------- site/_site/feed.xml | 2 +- 6 files changed, 10 insertions(+), 59 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-senssoft/blob/49ec9055/site/.dockerignore ---------------------------------------------------------------------- diff --git a/site/.dockerignore b/site/.dockerignore new file mode 100644 index 0000000..ff1c68d --- /dev/null +++ b/site/.dockerignore @@ -0,0 +1,5 @@ +# comment +*.md +_site +Dockerfile + http://git-wip-us.apache.org/repos/asf/incubator-senssoft/blob/49ec9055/site/README.md ---------------------------------------------------------------------- diff --git a/site/README.md b/site/README.md index 9ea4930..461b23e 100644 --- a/site/README.md +++ b/site/README.md @@ -4,16 +4,16 @@ How to Build Site 1. Download and Install [``Docker``](http://docker.com) 2. Build site ``` - docker build -t apache-site . + docker build -t senssoft:site . ``` 3. Deploy site on localhost:8000 ``` - docker run -p 8000:8000 -it apache-site python -m SimpleHTTPServer + docker run -p 8000:8000 -it senssoft:site python -m SimpleHTTPServer ``` 4. (Optional): To update the site, can copy the files from the container to _site. ``` # First grab container id - docker inspect --format="{{.Id}}" apache-site + CID=$(docker create -p 8000:8000 -it senssoft:site python -m SimpleHTTPServer) # Reference container id to grab built contents - docker cp <container_id>:/app/_site . + docker cp $CID:/app/_site . ``` \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-senssoft/blob/49ec9055/site/_site/CHANGELOG.md ---------------------------------------------------------------------- diff --git a/site/_site/CHANGELOG.md b/site/_site/CHANGELOG.md deleted file mode 100644 index d97729f..0000000 --- a/site/_site/CHANGELOG.md +++ /dev/null @@ -1,12 +0,0 @@ -CHANGELOG ---------- - -### 1.0.1 (2017-05-25) -- Updated contributing guide -- Fixed broken links -- Added Dockerfile to show how to build site -- Added README and CHANGELOG -- Updated UserALE.pyqt5 name to UserALE.py - -### 1.0.0 (2017-01-12) -- Initial commit. \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-senssoft/blob/49ec9055/site/_site/Dockerfile ---------------------------------------------------------------------- diff --git a/site/_site/Dockerfile b/site/_site/Dockerfile deleted file mode 100644 index d7d3628..0000000 --- a/site/_site/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -FROM starefossen/ruby-node -MAINTAINER Michelle Beard <msbe...@apache.org> - -# Cache bundle -COPY Gemfile* /tmp/ -WORKDIR /tmp -RUN bundle install - -ENV app /app - -# Install npm modules -COPY package.json /tmp/ -WORKDIR /tmp -RUN npm install -g - -# Add src code -RUN mkdir $app -WORKDIR $app -ADD . $app - -# Jekyll buld -RUN jekyll build - -WORKDIR $app/_site - -EXPOSE 8000 \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-senssoft/blob/49ec9055/site/_site/README.md ---------------------------------------------------------------------- diff --git a/site/_site/README.md b/site/_site/README.md deleted file mode 100644 index 2f9e68a..0000000 --- a/site/_site/README.md +++ /dev/null @@ -1,16 +0,0 @@ -How to Build Site ------------------ - -1. Download and Install [``Docker``](http://docker.com) -2. Build site - ``` - docker build -t apache-site . - ``` -3. Deploy site on localhost:8000 - ``` - docker run -p 8000:8000 -it apache-site python -m SimpleHTTPServer - ``` -4. (Optional): To update the site, can copy the files from the container to _site. - ``` - docker - ``` \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-senssoft/blob/49ec9055/site/_site/feed.xml ---------------------------------------------------------------------- diff --git a/site/_site/feed.xml b/site/_site/feed.xml index 91e1225..cd2d1d4 100644 --- a/site/_site/feed.xml +++ b/site/_site/feed.xml @@ -1 +1 @@ -<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet type="text/xml" href="http://senssoft.incubator.apache.org/feed.xslt.xml"?><feed xmlns="http://www.w3.org/2005/Atom"><generator uri="http://jekyllrb.com" version="3.3.1">Jekyll</generator><link href="http://senssoft.incubator.apache.org/feed.xml" rel="self" type="application/atom+xml" /><link href="http://senssoft.incubator.apache.org/" rel="alternate" type="text/html" /><updated>2017-05-25T21:38:16+00:00</updated><id>http://senssoft.incubator.apache.org//</id><title type="html">Apache SensSoft</title><subtitle>The homepage for Apache SensSoft</subtitle></feed> +<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet type="text/xml" href="http://senssoft.incubator.apache.org/feed.xslt.xml"?><feed xmlns="http://www.w3.org/2005/Atom"><generator uri="http://jekyllrb.com" version="3.3.1">Jekyll</generator><link href="http://senssoft.incubator.apache.org/feed.xml" rel="self" type="application/atom+xml" /><link href="http://senssoft.incubator.apache.org/" rel="alternate" type="text/html" /><updated>2017-05-25T22:21:25+00:00</updated><id>http://senssoft.incubator.apache.org//</id><title type="html">Apache SensSoft</title><subtitle>The homepage for Apache SensSoft</subtitle></feed>