Package Exports
- bipbip.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (bipbip.js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Bipbip.js is a simple tool to deploy, based on Node.js.
Installation
$ npm install -g bipbip.js
Run a deployment
$ bipbip my_env
# Run prod env
$ bipbip prod
Configuration
bipbip.js takes the deploy.js
default file. The file takes a default configuration and supports environments.
The environment called is merged with default
environment.
exports.config = {
default: {
},
dev: {
},
preprod: {
},
prod: {
},
other_env: {
}
}
Environment variable
workspace: "/path/to/workspace",
server: {
user: "user",
host: "server_to_deploy.io",
to: "/path/to/deploy"
},
repository: {
url: "git@github.com:baptistedonaux/bipbip.js.git",
// branch and tag should not be sets simultaneously
branch: null,
tag: null,
options: {
// clone submodule
submodules: true|false
}
},
commands: {
local: [
// command to run locally
],
remote: [
// command to run after project send to remote server
],
postDeploy: [
// command to run after new release deployed
]
},
ignores: [
// ignore files and folders to send
],
shared: {
files: [
// files list shared
],
folders: [
// folders list shared
]
},
releases: 3
Required values
{
workspace: "Folder to build project before deploy on remote server",
server: {
user: "User to connect the remote server",
host: "Server to deploy",
to: "Absolute path where deploy"
}
}
Default values
{
repository: {
branch: null,
options: {
submodules: false
},
tag: null,
url: null
},
commands: {
local: [],
remote: [],
postDeploy: []
},
ignores: [],
shared: {
files: [],
folders: []
},
releases: 3
}
Contributed
bipbip.js
is a simple project. No specific or complexe features will are developped. For bugs and features, open an issue.