Bench is a command-line utility that helps you to install, update, and manage multiple sites for Jingrow apps on *nix systems for development and production.
Installation
You'll have to set up the system dependencies required for setting up a Jingrow Environment.
$ pip install jingrow-bench
Basic Usage
Note: Apart from bench init, all other bench commands are expected to be run in the respective bench directory.
-
Create a new bench:
$ bench init [bench-name] -
Add a site under current bench:
$ bench new-site [site-name]-
Optional: If the database for the site does not reside on localhost or listens on a custom port, you can use the flags
--db-hostto set a custom host and/or--db-portto set a custom port.$ bench new-site [site-name] --db-host [custom-db-host-ip] --db-port [custom-db-port]
-
-
Download and add applications to bench:
$ bench get-app [app-name] [app-link] -
Install apps on a particular site
$ bench --site [site-name] install-app [app-name] -
Start bench (only for development)
$ bench start -
Show bench help:
$ bench --help
License
This repository has been released under the GNU GPLv3 License.