https://github.com/freezy/ips4-deployer
Deploy an IPS4 app through command line.
https://github.com/freezy/ips4-deployer
command-line-tool ips4
Last synced: about 1 year ago
JSON representation
Deploy an IPS4 app through command line.
- Host: GitHub
- URL: https://github.com/freezy/ips4-deployer
- Owner: freezy
- License: gpl-2.0
- Created: 2018-02-21T20:34:01.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-12-10T20:54:33.000Z (over 6 years ago)
- Last Synced: 2025-02-09T20:44:43.225Z (over 1 year ago)
- Topics: command-line-tool, ips4
- Language: JavaScript
- Size: 19.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IPS4 Deployer
*Deploy an IPS4 app through command line.*
## Summary
This allows you to automate the installation or upgrade of an IPS4 application.
It can be used in a continuous integration setup or a `post-receive` hook,
allowing git push deployments without having to log into AdminCP.
## Usage
You'll need Node.js 8+ on your system. General usage is:
node index.js --url=[url] --username=[username] --password=[password] --app=[app id] --action=[install|upgrade]
Where:
- `url` is the link to your IPS board, e.g. `https://someforum.com/`
- `username` and `password` are the admin credentials
- `app` is the name of the app you want to deploy
- `action` is whether the app should be freshly installed or upgraded.
In case the app is behind HTTP simple authentication, you can pass `user:password`
to the `--auth` parameter.
Note that this doesn't actually copy the the app to the IPS application folder,
it assumes that has already been done. This makes it possible to deploy any app
without shell access on the actual server.
An example for a git hook can be found [here](https://github.com/freezy/ips4-deployer/blob/master/post-receive).
## License
GPLv2, see [LICENSE](LICENSE).