From d6bb29d962ac025c66ea5cfeb2cff2acd7acc6b9 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 15 Aug 2017 16:58:46 +0300 Subject: [PATCH] feature(cloudcmd) add now demo --- .appveyor.yml | 17 +++++++++++++++++ .dockerignore | 1 + .npmignore | 1 + HELP.md | 4 +++- README.md | 3 ++- now.json | 21 +++++++++++++++++++++ 6 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 .appveyor.yml create mode 100644 now.json diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 00000000..f5e962e9 --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,17 @@ +platform: x64 + +install: + - ps: Install-Product node $env:nodejs_version $env:platform + +build: off + +build_script: + # Output useful info for debugging. + - node --version + - npm --version + + - npm i now -g + - now rm cloudcmd -y -t %NOW_TOKEN% + - now --public -t %NOW_TOKEN% + - now alias -t %NOW_TOKEN% + diff --git a/.dockerignore b/.dockerignore index c5c185d0..efbd0eb3 100644 --- a/.dockerignore +++ b/.dockerignore @@ -8,6 +8,7 @@ manifest.yml app.json bower.json yarn-error.log +now.json Dockerfile Dockerfile.alpine diff --git a/.npmignore b/.npmignore index 9e1752ae..dce27e53 100644 --- a/.npmignore +++ b/.npmignore @@ -8,6 +8,7 @@ coverage css html yarn-error.log +now.json modules/jquery/dist modules/jquery/external diff --git a/HELP.md b/HELP.md index e6d96b51..4021df12 100644 --- a/HELP.md +++ b/HELP.md @@ -1,11 +1,13 @@ # Cloud Commander v7.3.1 -### [Main][MainURL] [Blog][BlogURL] Live(![Heroku][Heroku_LIVE_IMG] [Heroku][HerokuURL]) +### [Main][MainURL] [Blog][BlogURL] Live(![Heroku][Heroku_LIVE_IMG] [Heroku][HerokuURL], ![Now][NOW_LIVE_IMG] [Now][NowURL])) [MainURL]: http://cloudcmd.io "Main" [BlogURL]: http://blog.cloudcmd.io "Blog" [HerokuURL]: http://cloudcmd.herokuapp.com/ "Heroku" +[NowURL]: https://cloudcmd.now.sh/ "Now" [HEROKU_LIVE_IMG]: https://status-io.cloudcmd.io/host/cloudcmd.herokuapp.com/img/txt.png "Heroku" +[NOW_LIVE_IMG]: https://status-io.cloudcmd.io/host/cloudcmd.now.sh/img/txt.png "Now" [DWORD]: https://github.com/cloudcmd/dword "Editor based on CodeMirror" [EDWARD]: https://github.com/cloudcmd/edward "Editor based on Ace" diff --git a/README.md b/README.md index 0b1320bb..805ddc6f 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,12 @@ # Cloud Commander v7.3.1 [![License][LicenseIMGURL]][LicenseURL] [![NPM version][NPMIMGURL]][NPMURL] [![Dependency Status][DependencyStatusIMGURL]][DependencyStatusURL] [![Build Status][BuildStatusIMGURL]][BuildStatusURL] [![Package Quality][PackageQualityIMGURL]][PackageQualityURL] [![Codacy][CodacyIMG]][CodacyURL] [![Gitter][GitterIMGURL]][GitterURL] [![OpenCollective](https://opencollective.com/cloudcmd/backers/badge.svg)](#backers) [![OpenCollective](https://opencollective.com/cloudcmd/sponsors/badge.svg)](#sponsors) -### [Main][MainURL] [Blog][BlogURL] Live([Heroku][HerokuURL]) +### [Main][MainURL] [Blog][BlogURL] Live([Heroku][HerokuURL], [Now][NowURL]) [NPM_INFO_IMG]: https://nodei.co/npm/cloudcmd.png [MainURL]: http://cloudcmd.io "Main" [BlogURL]: http://blog.cloudcmd.io "Blog" [HerokuURL]: http://cloudcmd.herokuapp.com/ "Heroku" +[NowURL]: https://cloudcmd.now.sh/ "Now" [NPMURL]: https://npmjs.org/package/cloudcmd "npm" [NPMIMGURL]: https://img.shields.io/npm/v/cloudcmd.svg?style=flat [LicenseURL]: https://tldrlegal.com/license/mit-license "MIT License" diff --git a/now.json b/now.json new file mode 100644 index 00000000..83005e68 --- /dev/null +++ b/now.json @@ -0,0 +1,21 @@ +{ + "type": "npm", + "alias": "cloudcmd", + "files": [ + "bin", + "server", + ".babelrc", + "css", + "font", + "favicon.ico", + "client", + "common", + "html", + "tmpl", + "img", + "modules", + "webpack.config.js", + "json", + "HELP.md" + ] +}