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
Arguments
Here are the arguments for the easy-install script
usage: easy-install.py [-h] [-p] [-d] [-s SITENAME] [-n PROJECT] [--email EMAIL]
Install Frappe with Docker
options:
-h, --help show this help message and exit
-p, --prod Setup Production System
-d, --dev Setup Development System
-s SITENAME, --sitename SITENAME The Site Name for your production site
-n PROJECT, --project PROJECT Project Name
--email EMAIL Add email for the SSL.
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.