Skip to content

Commit

Permalink
Merge pull request #114 from Protocore-UI/develop
Browse files Browse the repository at this point in the history
Adds Dockerfile + update release to 0.0.8
  • Loading branch information
hegdeashwin authored Oct 2, 2016
2 parents e7fa52c + 1574378 commit 0b1115d
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 16 deletions.
24 changes: 24 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
FROM ubuntu:16.04

# make sure apt is up to date
RUN apt-get update

# install nodejs and npm
RUN apt-get install -y nodejs npm

# Create app directory
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

# install app dependencies
COPY package.json /usr/src/app
RUN npm install --production

# Bundle app source
COPY . /usr/src/app

# Your app binds to port 8000 so you'll use the EXPOSE instruction
# to have it mapped by the docker daemon
EXPOSE 8000

CMD [ "npm", "start" ]
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
# Protocore [![GitHub version](http://img.shields.io/badge/version-0.0.7-brightgreen.svg)](https://github.com/hegdeashwin/Protocore/releases)
# Protocore [![GitHub version](http://img.shields.io/badge/version-0.0.8-brightgreen.svg)](https://github.com/hegdeashwin/Protocore/releases)

[![Build Status](https://travis-ci.org/hegdeashwin/Protocore.svg?branch=master)](https://travis-ci.org/hegdeashwin/Protocore) [![Dependency Status](https://gemnasium.com/hegdeashwin/Protocore.svg)](https://gemnasium.com/hegdeashwin/Protocore) [![Node.js version](http://img.shields.io/badge/Node.js-%3E%200.10-brightgreen.svg)](https://github.com/hegdeashwin/Protocore/) [![io.js version](http://img.shields.io/badge/io.js-%3E%202.3-brightgreen.svg)](https://github.com/hegdeashwin/Protocore/) [![Built with Grunt](http://cdn.gruntjs.com/builtwith.png)](http://gruntjs.com/) [![License version](http://img.shields.io/badge/License-MIT-red.svg)](https://github.com/hegdeashwin/Protocore#license)
[![Build Status](https://travis-ci.org/hegdeashwin/Protocore.svg?branch=master)](https://travis-ci.org/hegdeashwin/Protocore) [![Dependency Status](https://gemnasium.com/hegdeashwin/Protocore.svg)](https://gemnasium.com/hegdeashwin/Protocore) [![Node.js version](http://img.shields.io/badge/Node.js-%3E%200.12-brightgreen.svg)](https://github.com/hegdeashwin/Protocore/) [![Built with Grunt](http://cdn.gruntjs.com/builtwith.png)](http://gruntjs.com/) [![License version](http://img.shields.io/badge/License-MIT-red.svg)](https://github.com/hegdeashwin/Protocore#license)


Protocore is an open source walking application skeleton for a typical unstructured JavaScript/jQuery web apps. You can use it to quickly bootstrap your unstructured JavaScript/jQuery web application projects.

## Supports
* Node.js v0.10.x or above
* Node.js v4.0 new release
* iojs 2.3.x or above
* Node.js v0.12.x or above

## Prerequisites

Expand All @@ -24,7 +22,7 @@ Assuming that Git is already installed & running:
git clone https://github.com/Protocore-UI/Protocore
```

Assuming that Node.js or io.js & Bower is already installed & running,
Assuming that Node.js & Bower is already installed & running,

Install dependencies:
```
Expand Down
19 changes: 9 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Protocore",
"version": "0.0.7",
"version": "0.0.8",
"author": "Ashwin Hegde",
"description": "Protocore is an open source walking application skeleton for a typical unstructured JavaScript/jQuery web apps. You can use it to quickly bootstrap your unstructured JavaScript/jQuery web application projects.",
"contributors": [
Expand All @@ -11,19 +11,19 @@
],
"repository": {
"type": "git",
"url": "http://github.com/hegdeashwin/Protocore"
"url": "http://github.com/Protocore-UI/Protocore"
},
"issues": {
"url": "http://github.com/hegdeashwin/Protocore/issues?state=open"
"url": "http://github.com/Protocore-UI/Protocore/issues?state=open"
},
"milestones": {
"url": "http://github.com/hegdeashwin/Protocore/issues/milestones"
"url": "http://github.com/Protocore-UI/Protocore/issues/milestones"
},
"releases": {
"url": "http://github.com/hegdeashwin/Protocore/releases"
"url": "http://github.com/Protocore-UI/Protocore/releases"
},
"wiki": {
"url": "http://github.com/hegdeashwin/Protocore/wiki"
"url": "http://github.com/Protocore-UI/Protocore/wiki"
},
"dependencies": {
"express": "~4.13.0",
Expand Down Expand Up @@ -60,16 +60,15 @@
"architecture"
],
"engines": {
"node": ">=0.10",
"iojs": ">=2.3"
"node": ">=0.12"
},
"main": {
"start": "node server.js"
"start": "nodejs server.js"
},
"licenses": [
{
"type": "MIT",
"url": "http://raw.github.com/hegdeashwin/Protocore/master/LICENSE"
"url": "http://raw.github.com/Protocore-UI/Protocore/master/LICENSE"
}
]
}

0 comments on commit 0b1115d

Please sign in to comment.