Deploying a Self-Managed App via BloomERP Cloud
In this tutorial, we will guide you through the process of deploying a self-managed project via BloomERP Cloud. Self-managed projects are those that are hosted on BloomERP Cloud but for which the codebase is managed by you, the developer.
Prerequisites
- A BloomERP account.
- Basic knowledge of Django and the BloomERP framework.
Steps
- Install BloomERP
To install BloomERP, run the following command:
pip install bloomerp- Create a new BloomERP project
To create a new BloomERP project, run the following command:
bloomerp project init- Configure your project
Navigate to your project directory, and update settings your settings accordingly. There are three settings files that you can configure:
- 'settings/common.py' - for settings that are common to all environments.
- 'settings/local.py' - for settings that are specific to the development environment.
- 'settings/production.py' - for settings that are specific to the production environment.
- Make code changes
Now you are ready to make code changes to your project. Be sure to checkout the BloomERP documentation for guidance, best practices, and examples, but in essence, you can make changes to your project as you would with any other Django project.
- Deploy your project
To deploy your project to BloomERP Cloud, we would first have to link your project to a BloomERP Cloud project. To do this, either create a new BloomERP Self-Managed Cloud project via the BloomERP web interface, or create a new one using the following command:
bloomerp project linkOnce your project is linked, you can deploy it using the following command:
bloomerp project upload
bloomerp project deployThat's it! Your self-managed project is now deployed to BloomERP Cloud.