0.0.23 • Published 10 years ago

codeily v0.0.23

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

codeily

Does a cuddly job of retrieving code from Github and installing it on a server.

Getting Started

npm install codeily

Once the plugin has been installed, it may be run like this:

sudo node /path/to/codeily/app /path/to/root/dir

Assumptions

Codeily requires this to be in place:

  • A file named _provision_vars.js at the "root" directory given as argument above, with content like this:
[
  {
    "path": "\var\www\html\\",
    "repo": "https://github.com/test/test.git",
    "branch": "master"
  }
]
  • A file named codeily.json in the repo being called is optional, containing something below. Of course, if a script is sited, it must be included also.
{
  "ignore": [".git","README.md"],
  "script_after": ["codeily_script_after.sh"],
  "repo_path": ""
}
  • "repo_path" refers to which folder in the repo should be copied. Defaults to blank to copy the entire repo.

Development

Requires:

  • A Linux system.
  • git: sudo apt-get install git
  • grunt-cli: npm install -g grunt-cli
  • Node (eg., nvm) Run:
  • Start Node (eg., nvm use 6.5.0).
  • Normal: grunt
  • Include github calls: grunt mochaTest:all

Release History

0.0.23 - Add pull back with force-drop. 0.0.22 - Force drop of any git local changes. 0.0.21 - Add console output. 0.0.20 - Add ignore of missing "remove" files. 0.0.19 - Add failure on empty file list. 0.0.18 - Added change of directory prior to script execution. 0.0.17 - Fix file-rights issue. 0.0.16 - Remove old "remove" info from state file. 0.0.15 - Leave temp-repo and pull subsequent to initial - to increase speed. 0.0.14 - Minor consollog error fix. 0.0.13 - Add to readme & fix max-file-open error. 0.0.12 - Fix repo path bug. 0.0.11 - Add repo path. 0.0.10 - Add main to package. 0.0.9 - Fix chmod. 0.0.8 - Add chmod before execution. 0.0.7 - Fix error in execution. 0.0.6 - Convert completely to Unix. 0.0.5 - Convert to Unix slashes on paths. 0.0.4 - Add ability to execute script after. 0.0.1 - Initial.

0.0.23

10 years ago

0.0.22

10 years ago

0.0.21

10 years ago

0.0.20

10 years ago

0.0.19

10 years ago

0.0.18

10 years ago

0.0.17

10 years ago

0.0.16

10 years ago

0.0.15

10 years ago

0.0.14

10 years ago

0.0.13

10 years ago

0.0.12

10 years ago

0.0.11

10 years ago

0.0.10

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago