erpnext_autoinstall
erpnext_autoinstall copied to clipboard
:snake: :alembic: ERPNext Frappe application to automatically setup ERPNext on install.
ERPNext AutoInstall
:alembic: Experimental Frappe application for automatic setup of ERPNext.
The objective is to setup ERPNext automatically based on environment variables, mainly for docker usage.
https://discuss.erpnext.com/t/setup-ldap-through-command-line/49735
:chart_with_upwards_trend: Changes
All notable changes to this project will be documented in CHANGELOG file.
This CHANGELOG is generated with :heart: by gitmoji-changelog This project adheres to Semantic Versioning.
:bookmark: Roadmap
See Taiga.io
:construction: Install
bench get-app --branch master erpnext_autoinstall https://github.com/Monogramm/erpnext_autoinstall
:rocket: Usage
bench install-app erpnext_autoinstall
Environment variables for automatic setup:
-
WebSite configuration
DISABLE_SIGNUPHOME_PAGE
-
LDAP configuration
LDAP_ENABLEDLDAP_SERVER_URLLDAP_BASE_DNLDAP_PASSWORDLDAP_USERS_ORGANIZATIONAL_UNITLDAP_DEFAULT_ROLELDAP_SEARCH_STRINGLDAP_EMAIL_FIELDLDAP_USERNAME_FIELDLDAP_FIRST_NAME_FIELDLDAP_MIDDLE_NAME_FIELDLDAP_LAST_NAME_FIELDLDAP_PHONE_FIELDLDAP_MOBILE_FIELDLDAP_SSL_TLS_MODE
Environment variables not ready yet:
-
Email domain configuration
EMAIL_DOMAIN_SERVEREMAIL_DOMAIN_IDEMAIL_DOMAIN_NAMEEMAIL_DOMAIN_SMTP_SERVEREMAIL_DOMAIN_PORTEMAIL_DOMAIN_USE_IMAPEMAIL_DOMAIN_USE_SSLEMAIL_DOMAIN_USE_TLSEMAIL_DOMAIN_ATTACHMENT_LIMIT_MB
-
Email accounts configuration
EMAIL_ACCOUNT_ADDRESS_ACCOUNTEMAIL_ACCOUNT_PASSWORD
Custom bench commands:
bench list-users: Show list of usersbench add-user: Create new userbench delete-user: Delete user from databasebench set-user-password: Update user passwordbench set-user-roles: Set roles for userbench set-user-role-profile: Set role profile for userbench add-user-api-key: Generate API key by username (doesn't work in version 10)bench get-user-api-key: Get API key by username (doesn't work in version 10)bench get-user-api-secret: Get API secret by username (doesn't work in version 10)
:white_check_mark: Run tests
bench bench run-tests --profile --app erpnext_autoinstall
:bust_in_silhouette: Authors
Monogramm
- Website: https://www.monogramm.io
- Github: @Monogramm
Аминов Эмиль
- Website: https://aminove99.github.io/
- Github: @AminovE99
:handshake: Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Check the contributing guide.
:thumbsup: Show your support
Give a :star: if this project helped you!
:page_facing_up: License
Copyright © 2019 Monogramm.
This project is AGPL v3 licensed.
This README was generated with :heart: by readme-md-generator