click2ship_core is a custom Frappe/ERPNext application that powers core functionality for the Click2Ship stack, extending ERPNext with project-specific features and customizations.
This README explains how to install and work with the app in your Frappe/ERPNext bench.
Before installing click2ship_core, make sure you have:
- A working Frappe/ERPNext bench (development or production)
- At least one site already created (for example:
click2ship.netorclick2ship.local) - Compatible Python / Node / Redis versions for your ERPNext/Frappe version
- Shell/SSH access to the server where the bench is running
- Git access to the repository for
click2ship_core
These steps assume you already have ERPNext and Frappe installed on a bench.
On your server or development machine, open a terminal and go to your bench directory:
cd ~/frappe-benchAdjust the path if your bench directory is located elsewhere.
Use bench get-app to download the app into your bench:
bench get-app click2ship_core git@github.com:your-org/click2ship_core.gitOr
bench get-app click2ship_core https://github.com/your-org/click2ship_core.gitInstall click2ship_core on the site where you want it to be available.
bench --site your-site-name install-app click2ship_coreFor example, if your site inside bench is named click2ship.net:
bench --site click2ship.net install-app click2ship_coreNote: The bench site name is not always the same as the domain name.
You can list your sites with:bench list-sites
After installation, apply database migrations and restart bench services:
bench migrate
bench restartOn production setups (with supervisor/nginx), follow your usual deployment/restart procedure.
-
Open your ERPNext site in the browser:
https://click2ship.net(or whichever domain points to your ERPNext site)
-
Log in as Administrator or a user with sufficient permissions.
-
Check the Desk for
Click2Ship Core(or similarly named) module, doctypes, and pages provided by this app. -
Watch the browser console and server logs for any errors when loading pages related to
click2ship_core.
Depending on how your deployment is set up, click2ship_core may require some initial configuration after installation. Typical configuration steps include:
- Assigning roles and permissions for new doctypes
- Granting users access to the Click2Ship Core module or workspace
- Setting any app-specific settings doctypes (if implemented), such as:
- Default Company
- Default Warehouse
- External API keys or tokens
If a dedicated settings doctype exists, you can usually find it under:
Click2Ship Core → Settings
or
Settings → Click2Ship Core Settings
Fill in the required fields and save.
Once installed and configured, users will typically:
- Access the Click2Ship Core module from the ERPNext Desk
- Create and manage records in doctypes provided by
click2ship_core - Use any reports, dashboards, or custom pages included in the app
You can extend this section with detailed user workflows, screenshots, or links to internal documentation as needed.
If you are developing or customizing click2ship_core, follow these steps in a development environment:
-
Start bench:
cd ~/frappe-bench bench start
-
Ensure the app is installed on your development site:
bench --site your-dev-site install-app click2ship_core bench --site your-dev-site migrate
-
The app source code is located at:
apps/click2ship_core/ -
After making code changes, you can clear cache:
bench clear-cache bench clear-website-cache
-
For build-related changes (JS, CSS, etc.), you may need to run:
bench build bench restart
-
Confirm the app is installed on the site:
bench --site your-site-name list-apps
-
Ensure the user has appropriate roles and permissions.
-
Check workspace/module configuration to ensure the module is not hidden.
-
Run migrate and inspect the output:
bench --site your-site-name migrate
-
Check log files in the
logs/directory of the bench. -
Make sure all doctypes, patches, and Python modules in
click2ship_coreload correctly without import errors.
If click2ship_core uses background jobs:
bench --site your-site-name doctor
bench --site your-site-name enqueue-jobsCheck that workers are running:
bench workerIf you are contributing to click2ship_core:
-
Fork the repository.
-
Create a new feature branch:
git checkout -b feature/my-feature
-
Commit your changes:
git commit -m "Add my feature" -
Push the branch:
git push origin feature/my-feature
-
Open a Pull Request to the main repository.
You can add project-specific coding standards, testing instructions, or CI information here.
Specify the license used for click2ship_core here, for example:
MIT License
or
Proprietary - All rights reserved.
Ensure this matches the LICENSE file in your repository.
For questions, support, or deployment-related issues for click2ship_core and the Click2Ship ERPNext setup, please use your standard support channels. For example:
- Website: https://drcodex.com
- Email: iammusabutt@gmail.com
- Issue Tracker: URL of your Git repository issues page