diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..f8e81ab --- /dev/null +++ b/.drone.yml @@ -0,0 +1,4 @@ +build: + image: node:0.10-onbuild + commands: + - npm install diff --git a/Dockerfile b/Dockerfile index 6e9a1d9..bcdadc5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,19 +1,14 @@ -FROM ubuntu:14.04 +FROM codefresh/buildpacks:all -RUN sudo apt-get -q -y update -RUN sudo apt-get -q -y install nodejs npm git +ENV NVM_BIN /root/.nvm/versions/node/v0.12.7/bin +ENV PATH $NVM_BIN:$PATH -RUN sudo ln -s "$(which nodejs)" /usr/bin/node +COPY package.json /src/package.json +WORKDIR /src +RUN npm install -RUN npm install npm -g +COPY . /src -#application server -EXPOSE 80 -#nodejs debug port EXPOSE 9000 -#node inspector port -EXPOSE 8080 - -COPY . /src -CMD ["/usr/bin/node", "/src/app.js"] +CMD ["node", "/src/app.js"] \ No newline at end of file diff --git a/README.md b/README.md index aa323c8..df36cde 100644 --- a/README.md +++ b/README.md @@ -49,3 +49,5 @@ If you would like to add/remove/update Orion extension points, you will need to ## You can see plugin hosted on Heroku https://orionplugin.herokuapp.com/ + + diff --git a/index.html b/index.html index 027dbcd..437e53a 100644 --- a/index.html +++ b/index.html @@ -73,7 +73,7 @@
-

Orion JS Beautify Example

+

Orion JS Beautify Example - Irin

Example of simple orion plugin

diff --git a/todo.html b/todo.html new file mode 100644 index 0000000..0794231 --- /dev/null +++ b/todo.html @@ -0,0 +1,43 @@ + + + + TODO List + + + + +

TODO List

+ + \ No newline at end of file