Installation Guide for OpenRxERP¶
Follow these steps to install the OpenRxERP
POS system:
Recommended Environment¶
- Operating System: Debian 11
- Python Version: 3.12.5
- Django Version: 5.1.1
- Other requirements are listed in
requirements.txt
.
Steps to Install OpenRxERP
¶
1. Clone the Repository¶
Open your terminal and clone the repository using git clone
.
2. Set Up a Virtual Environment¶
Create and activate a virtual environment to manage dependencies.
3. Install Dependencies¶
Install the required Python packages using pip
.
4. Set Up Environment Variables¶
Create a .env
file in the root directory of the project and add the necessary environment variables.
5. Configure Database¶
Ensure that PostgreSQL is installed and running. Create a new PostgreSQL database and user with the credentials specified in the .env
file.
6. Apply Migrations¶
Run the Django migrations to set up the database schema.
7. Create a Superuser¶
Create an admin user to access the Django admin interface.
8. Collect Static Files¶
Collect all static files into the STATIC_ROOT
directory.
9. Run the Development Server¶
Start the Django development server.
10. Access the Application¶
Open your web browser and navigate to http://localhost:8000
to access the application. Use the admin credentials created earlier to log in to the Django admin interface at http://localhost:8000/admin
.
Summary¶
- Clone the repository.
- Set up a virtual environment.
- Install dependencies.
- Configure environment variables.
- Set up and configure the database.
- Apply migrations.
- Create a superuser.
- Collect static files.
- Run the development server.
- Access the application via a web browser.