Skip to content

Commit df1f965

Browse files
author
Celine Lewerentz
committed
split module installation and rewrite getting started index page
1 parent cc91efd commit df1f965

File tree

11 files changed

+198
-183
lines changed

11 files changed

+198
-183
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
myst:
3+
html_meta:
4+
"title": "OpenSPP Module Installation Guide"
5+
"description": "Step-by-step guide for installing and configuring OpenSPP modules including SP-MIS, Social Registry, and Farmer Registry"
6+
"keywords": "OpenSPP, modules, installation, Odoo, SP-MIS, Social Registry, Farmer Registry"
7+
---
8+
9+
# Farmer Registry installation
10+
11+
**OpenSPP Farmer Registry Base / spp_base_farmer_registry**
12+
13+
The {doc}`OpenSPP Farmer Registry <../overview/products/farmer_registry>` configuration enables convergence between social protection and agricultural development programs. This setup is designed for organizations supporting smallholder farmers, managing agricultural subsidies, or implementing climate-smart agriculture initiatives.
14+
15+
**What's included:**
16+
- Farmer and farm household registration
17+
- Land parcel mapping with GIS integration
18+
- Crop and livestock tracking
19+
- Agricultural input distribution management
20+
- Seasonal cycle management
21+
- Integration with agricultural extension services
22+
23+
**Installation steps:**
24+
25+
1. Navigate to the **Apps** menu.
26+
2. In the Apps menu, search for {doc}`spp_base_farmer_registry </reference/modules/spp_base_farmer_registry>` or "OpenSPP Farmer Registry Base"
27+
28+
![Searching for SPP Farmer Registry module](module_installation/05-spp_farmer1.jpg)
29+
30+
3. Click the **Activate** button to install the module and its dependencies.
31+
32+
![SPP Farmer Registry module installation complete](module_installation/06-spp_farmer2.jpg)
33+
34+
4. Restart OpenSPP after installing the module:
35+
```bash
36+
sudo systemctl restart openspp
37+
```
38+
39+
**Note**: The `queue_job` module, which is essential for asynchronous background tasks, is automatically installed as a dependency of the main OpenSPP modules. It is also pre-configured as a `server_wide_module`, ensuring that background workers can process jobs correctly after a service restart.

docs/getting_started/index.md

Lines changed: 28 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -11,33 +11,46 @@ myst:
1111
Welcome to OpenSPP! This guide will help you get your social protection platform up and running quickly.
1212

1313
## Quick start path
14+
Start here if you're setting up OpenSPP for the first time:
1415

1516
:::::{grid} 2
1617
:gutter: 3
1718

18-
::::{grid-item-card} New installation
19-
Start here if you're setting up OpenSPP for the first time:
19+
::::{grid-item-card} I want to use the OpenSPP products
20+
21+
1. {doc}`Install OpenSPP on Debian/Ubuntu (30 minutes) <installation_deb>`
22+
23+
<br>
2024

21-
1. **{doc}`Installation guide <installation_deb>`**
22-
Install OpenSPP on Debian/Ubuntu (30 minutes)
25+
2. Install {doc}`SP-MIS <spmis_installation>`, {doc}`Social Registry <social_installation>`, or {doc}`Farmer Registry <farmer_installation>` from the available modules.
2326

24-
2. **{doc}`Module installation <module_installation>`**
25-
Choose {doc}`SP-MIS <../overview/products/sp_mis>`, {doc}`Social Registry <../overview/products/social_registry>`, or {doc}`Farmer Registry <../overview/products/farmer_registry>`
27+
<br>
2628

27-
3. **Initial setup**
28-
Configure your first program and import data
29+
3. Get your system ready for use:
30+
- Create your first program - {doc}`Creating a Program <../user_guide/program_management/create_program>`
31+
- Import beneficiary data - {doc}`Registry Management <../user_guide/registry_management/index>`
32+
- Configure user access - {doc}`Administration <../user_guide/administration/index>`
33+
2934
::::
3035

31-
::::{grid-item-card} Learn the system
32-
Explore OpenSPP's capabilities:
36+
::::{grid-item-card} I want to select my modules freely
37+
38+
1. {doc}`Install OpenSPP on Debian/Ubuntu (30 minutes) <installation_deb>`
39+
40+
<br>
41+
42+
2. Choose modules to install. Read more about {doc}`module installation <module_installation>` and {doc}`available modules <../reference/modules/index>`
43+
44+
<br>
3345

34-
- **{doc}`Features <../overview/features/index>`** - Understand key features
35-
- **{doc}`Products <../overview/products/index>`** - Choose the right product configuration
36-
- **{doc}`User guide <../user_guide/index>`** - Learn day-to-day operations
46+
3. Get your system ready for use:
47+
- Create your first program - {doc}`Creating a Program <../user_guide/program_management/create_program>`
48+
- Import beneficiary data - {doc}`Registry Management <../user_guide/registry_management/index>`
49+
- Configure user access - {doc}`Administration <../user_guide/administration/index>`
3750
::::
3851
:::::
3952

40-
## Choose your configuration
53+
## OpenSPP configurations
4154

4255
OpenSPP offers three primary configurations based on your needs:
4356

@@ -59,28 +72,6 @@ OpenSPP offers three primary configurations based on your needs:
5972
- • Farm mapping<br>• Crop tracking<br>• Input distribution<br>• Seasonal cycles
6073
```
6174

62-
## Steps
63-
64-
### 1. System installation
65-
**Time required:** 30-45 minutes
66-
67-
Install OpenSPP using our Debian packages:
68-
- {doc}`Installation Guide <installation_deb>` - Production deployment on Ubuntu/Debian
69-
70-
### 2. Module configuration
71-
**Time required:** 15-30 minutes
72-
73-
After installation, configure your system:
74-
- {doc}`Module Installation <module_installation>` - Install base modules and extensions
75-
76-
### 3. Initial setup
77-
**Time required:** 1-2 hours
78-
79-
Get your system ready for use:
80-
- Create your first program - {doc}`Creating a Program <../user_guide/program_management/create_program>`
81-
- Import beneficiary data - {doc}`Registry Management <../user_guide/registry_management/index>`
82-
- Configure user access - {doc}`Administration <../user_guide/administration/index>`
83-
8475
## Where to go next
8576

8677
Based on your role:
@@ -121,6 +112,7 @@ Based on your role:
121112
- **[GitHub Discussions](https://github.com/orgs/OpenSPP/discussions)** - Ask questions and get help from the community
122113
- **[Report Issues](https://github.com/OpenSPP/openspp-modules/issues)** - Report bugs or request features
123114
- **{doc}`OpenSPP Glossary <../reference/glossary>`** - Look up terms (available in multiple languages)
115+
- **[OpenSPP Discord server](https://discord.gg/bgrwxhEQty)** - Join the OpenSPP Discord server and meet the rest of the community
124116

125117
```{toctree}
126118
---

docs/getting_started/installation_deb.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,14 @@ myst:
66
"keywords": "OpenSPP, installation, Ubuntu 24.04, Debian 12, PostgreSQL, APT repository, setup guide"
77
---
88

9-
# Installation guide
9+
# Installing OpenSPP
1010

1111
This guide walks you through installing OpenSPP on Ubuntu 24.04 or Debian 12 (Bookworm) using the official APT repository hosted on Nexus.
1212

13+
:::{tip}
14+
For development setup instructions, see the {doc}`Development Setup Guide <../developer_guide/setup>`.
15+
:::
16+
1317
## Prerequisites
1418

1519
Before installing OpenSPP, ensure you have:

docs/getting_started/module_installation.md

Lines changed: 35 additions & 131 deletions
Original file line numberDiff line numberDiff line change
@@ -10,124 +10,46 @@ myst:
1010

1111
OpenSPP's modular architecture allows organizations to deploy only the features they need. Built on Odoo 17, the platform extends functionality through specialized modules that can be mixed and matched to create tailored social protection solutions. This guide covers installing OpenSPP modules for different use cases.
1212

13-
## Prerequisites
14-
15-
Before installing OpenSPP modules, ensure you have:
16-
17-
- **Odoo 17 instance** running and accessible
18-
- **OpenSPP modules** source code from the [OpenSPP repository](https://github.com/OpenSPP/openspp-modules/tree/17.0/)
19-
- **Addons path** configured to include the `openspp-modules` directory
20-
- **Administrator access** to your Odoo instance
21-
- **Developer mode** knowledge (required for module installation)
22-
23-
:::{tip}
24-
For development setup instructions, see the {doc}`Development Setup Guide <../developer_guide/setup>`.
13+
:::{important}
14+
Before installing OpenSPP modules, ensure you have an **Odoo 17 instance** running and accessible. If not, follow the {doc}`Installation guide <installation_deb>` in order to install it.
2515
:::
2616

27-
## General installation process
28-
29-
Installing an Odoo module, including those for OpenSPP, follows a standard procedure:
17+
## Installing OpenSPP base modules
3018

31-
1. **Place Modules in Addons Path**: Ensure the `openspp-modules` directory is included in your Odoo configuration's `addons_path`.
32-
2. **Update apps list**:
33-
- Log in to your Odoo instance with administrator privileges.
34-
- Activate the developer mode.
35-
- Navigate to the **Apps** menu.
36-
- Click on **Update Apps List** and confirm the update.
37-
3. **Install the module**:
38-
- In the **Apps** menu, clear the default "Apps" filter from the search bar.
39-
- Search for the desired module by its technical name or title.
40-
- Click the **Activate** button on the module's card to begin the installation.
41-
42-
![OpenSPP Apps menu interface](module_installation/01-apps-ui.jpg)
43-
44-
## Installation setups
45-
46-
OpenSPP can be configured in different ways depending on your project's needs. Below are the installation guides for three primary setups.
19+
OpenSPP comes with three configured base modules depending on your needs. The steps on how to install these can be found in {doc}`Installation of OpenSPP Social Registry <social_installation>`, {doc}`Installation of OpenSPP SP-MIS <spmis_installation>` and {doc}`Installation of OpenSPP Farmer Registry <farmer_installation>`.
4720

4821
:::{important}
49-
The **SP-MIS** ({doc}`spp_base </reference/modules/spp_base>`), and **Farmer Registry** ({doc}`spp_farmer_registry_base </reference/modules/spp_farmer_registry_base>`) modules are mutually exclusive. You can only have one of them installed in a single Odoo database. Attempting to install multiple base modules will result in an error.
22+
The **SP-MIS** ({doc}`spp_base_spmis </reference/modules/spp_base_spmis>`), **Farmer Registry** ({doc}`spp_base_farmer_registry </reference/modules/spp_base_farmer_registry>`) and **Social Registry** ({doc}`spp_base_social_registry </reference/modules/spp_base_social_registry>`) modules are mutually exclusive. You can only have one of them installed in a single Odoo database. Attempting to install multiple base modules will result in an error.
5023
:::
5124

52-
### 1. SP-MIS installation (spp_base)
53-
54-
The Social Protection Management Information System ({doc}`SP-MIS <../overview/products/sp_mis>`) configuration provides comprehensive functionality for managing social protection programs. This setup is ideal for organizations running cash transfers, social assistance programs, or humanitarian interventions.
55-
56-
**What's included:**
57-
- Registry management for individuals and groups
58-
- Program cycles and beneficiary enrollment
59-
- Eligibility determination and targeting
60-
- Entitlement calculation and management
61-
- Payment processing integration
62-
63-
**Installation steps:**
64-
65-
1. Follow the General Installation Process to update your Apps list
66-
2. In the Apps menu, search for {doc}`spp_base </reference/modules/spp_base>` or "OpenSPP Base"
67-
68-
![Searching for SPP Base module in Apps](module_installation/02-spp_base01.jpg)
69-
70-
3. Click the **Activate** button to install the module. This will also install all its dependencies, providing a complete SP-MIS foundation.
71-
72-
![SPP Base module installation screen](module_installation/03-spp_base2.jpg)
73-
74-
Once installed, you will see the "Registry" application in your Odoo dashboard, which is the main entry point for the OpenSPP system.
75-
76-
![SPP Base module successfully installed](module_installation/04-spp_base3.jpg)
77-
78-
### 2. Social Registry installation (spp_registry_base)
79-
80-
The {doc}`Social Registry <../overview/products/social_registry>` configuration provides a centralized repository for beneficiary data that can be shared across multiple social protection programs. This setup is ideal for governments and organizations coordinating multiple interventions and requiring a single source of truth for beneficiary information.
81-
82-
**What's included:**
83-
- Unified beneficiary database across programs
84-
- Advanced deduplication and data quality management
85-
- Dynamic registration and needs assessment
86-
- Inter-program data sharing and coordination
87-
- Household composition and relationship tracking
88-
- Socioeconomic data collection and analysis
89-
- Data privacy and access control mechanisms
90-
91-
**Installation steps:**
92-
93-
1. Follow the General Installation Process to update your Apps list
94-
2. In the Apps menu, search for {doc}`spp_registry_base </reference/modules/spp_registry_base>` or "OpenSPP Social Registry"
95-
3. Click the **Activate** button to install the module and its dependencies
96-
97-
Once installed, the Social Registry becomes the central hub for managing beneficiary data that can be accessed by various social protection programs.
98-
99-
### 3. Farmer Registry installation (spp_farmer_registry_base)
25+
## Installing additional modules
10026

101-
The {doc}`Farmer Registry <../overview/products/farmer_registry>` configuration enables convergence between social protection and agricultural development programs. This setup is designed for organizations supporting smallholder farmers, managing agricultural subsidies, or implementing climate-smart agriculture initiatives.
27+
After setting up your base system you can extend the functionality with additional modules. OpenSPP offers 60+ specialized modules covering various aspects of social protection delivery.
10228

103-
**What's included:**
104-
- Farmer and farm household registration
105-
- Land parcel mapping with GIS integration
106-
- Crop and livestock tracking
107-
- Agricultural input distribution management
108-
- Seasonal cycle management
109-
- Integration with agricultural extension services
29+
:::{note}
30+
Additional modules automatically detect and respect your base configuration (SP-MIS or Farmer Registry). Some modules are specific to one configuration, while others work with both.
31+
:::
11032

111-
**Installation steps:**
33+
## General installation process
11234

113-
1. Follow the general installation process to update your Apps list
114-
2. In the Apps menu, search for {doc}`spp_farmer_registry_base </reference/modules/spp_farmer_registry_base>` or "OpenSPP Farmer Registry Base"
35+
Installing an Odoo module, including those for OpenSPP, follows a standard procedure:
11536

116-
![Searching for SPP Farmer Registry module](module_installation/05-spp_farmer1.jpg)
37+
1. Navigate to the **Apps** menu.
11738

118-
3. Click the **Activate** button to install the module and its dependencies.
39+
2. Search for the desired module by its technical name or title. If the module does not show up, clear the default "Apps" filter from the search bar.
11940

120-
![SPP Farmer Registry module installation complete](module_installation/06-spp_farmer2.jpg)
41+
3. Click the **Activate** button on the module's card to begin the installation.
12142

122-
## Installing additional modules
43+
![OpenSPP Apps menu interface](module_installation/01-apps-ui.jpg)
12344

124-
After setting up your base system (either SP-MIS or Farmer Registry), you can extend functionality with additional modules. OpenSPP offers 60+ specialized modules covering various aspects of social protection delivery.
45+
4. Restart OpenSPP after installing the modules:
46+
```bash
47+
sudo systemctl restart openspp
48+
```
12549

126-
:::{note}
127-
Additional modules automatically detect and respect your base configuration (SP-MIS or Farmer Registry). Some modules are specific to one configuration, while others work with both.
128-
:::
50+
**Note**: The `queue_job` module, which is essential for asynchronous background tasks, is automatically installed as a dependency of the main OpenSPP modules. It is also pre-configured as a `server_wide_module`, ensuring that background workers can process jobs correctly after a service restart.
12951

130-
### Common extension modules
52+
## Common extension modules
13153

13254
**Data management:**
13355
- **Change request** ({doc}`spp_change_request </reference/modules/spp_change_request>`) - Workflow for reviewing and approving data modifications
@@ -144,41 +66,11 @@ Additional modules automatically detect and respect your base configuration (SP-
14466
- **OpenID Connect** ({doc}`spp_oauth </reference/modules/spp_oauth>`) - Single sign-on and authentication
14567
- **DCI API Server** ({doc}`spp_dci_api_server </reference/modules/spp_dci_api_server>`) - Data Collection Interface API
14668

147-
### Example: Installing change request module
148-
149-
Let's walk through installing the {doc}`Change Request </reference/modules/spp_change_request>` module as an example:
150-
151-
**Steps:**
152-
153-
1. Navigate to the **Apps** menu
154-
2. Search for {doc}`spp_change_request </reference/modules/spp_change_request>` or "OpenSPP Change Request"
155-
156-
![Searching for SPP Change Request module](module_installation/08-spp_cr1.jpg)
157-
158-
3. Click the **Activate** button.
159-
160-
![SPP Change Request module installed](module_installation/09-spp_cr2.jpg)
161-
162-
### Example: Installing cash entitlement module
163-
164-
The **OpenSPP Entitlement: Cash** ({doc}`spp_entitlement_cash </reference/modules/spp_entitlement_cash>`) module adds functionality to manage cash-based entitlements for registrants.
165-
166-
**Steps:**
167-
168-
1. Navigate to the **Apps** menu.
169-
2. Search for {doc}`spp_entitlement_cash </reference/modules/spp_entitlement_cash>` or "OpenSPP Entitlement: Cash".
170-
171-
![Searching for SPP Entitlement Cash module](module_installation/10-spp_ent_cash1.jpg)
172-
173-
3. Click the **Activate** button.
174-
175-
![SPP Entitlement Cash module installation complete](module_installation/11-spp_ent_cash2.jpg)
176-
17769
## Module dependencies
17870

17971
OpenSPP modules often have dependencies that are automatically installed. Understanding these relationships helps with troubleshooting:
18072

181-
- **Core dependencies** are always installed (e.g., {doc}`spp_base </reference/modules/spp_base>` installs registry modules)
73+
- **Core dependencies** are always installed (e.g., {doc}`spp_base_spmis </reference/modules/spp_base_spmis>` installs registry modules)
18274
- **Optional dependencies** can be manually selected based on your needs
18375
- **Conflicting modules** will show warnings during installation attempts
18476

@@ -214,3 +106,15 @@ After installing your modules:
214106
4. **Test workflows** - Verify the installed features work as expected
215107

216108
For detailed configuration guides for specific modules, see the {doc}`../user_guide/index` and {doc}`../reference/modules/index`.
109+
110+
```{toctree}
111+
---
112+
caption: Getting Started
113+
maxdepth: 2
114+
hidden: true
115+
---
116+
117+
spmis_installation
118+
social_installation
119+
farmer_installation
120+
```
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
myst:
3+
html_meta:
4+
"title": "OpenSPP Module Installation Guide"
5+
"description": "Step-by-step guide for installing and configuring OpenSPP modules including SP-MIS, Social Registry, and Farmer Registry"
6+
"keywords": "OpenSPP, modules, installation, Odoo, SP-MIS, Social Registry, Farmer Registry"
7+
---
8+
9+
# Social Registry installation
10+
11+
**OpenSPP Social Registry Base / spp_base_social_registry**
12+
13+
The {doc}`OpenSPP Social Registry <../overview/products/social_registry>` configuration provides a centralized repository for beneficiary data that can be shared across multiple social protection programs. This setup is ideal for governments and organizations coordinating multiple interventions and requiring a single source of truth for beneficiary information.
14+
15+
**What's included:**
16+
- Unified beneficiary database across programs
17+
- Advanced deduplication and data quality management
18+
- Dynamic registration and needs assessment
19+
- Inter-program data sharing and coordination
20+
- Household composition and relationship tracking
21+
- Socioeconomic data collection and analysis
22+
- Data privacy and access control mechanisms
23+
24+
**Installation steps:**
25+
26+
1. Navigate to the **Apps** menu.
27+
2. In the Apps menu, search for {doc}`spp_base_social_registry </reference/modules/spp_registry_base>` or "OpenSPP Social Registry Base"
28+
3. Click the **Activate** button to install the module and its dependencies
29+
4. Restart OpenSPP after installing the module:
30+
```bash
31+
sudo systemctl restart openspp
32+
```
33+
34+
**Note**: The `queue_job` module, which is essential for asynchronous background tasks, is automatically installed as a dependency of the main OpenSPP modules. It is also pre-configured as a `server_wide_module`, ensuring that background workers can process jobs correctly after a service restart.
35+
36+
Once installed, the Social Registry becomes the central hub for managing beneficiary data that can be accessed by various social protection programs.

0 commit comments

Comments
 (0)