Skip to content

laisario/hidralpress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hidralpress App

Local maintenance system for Hidralpress. The Django backend with PostgreSQL keeps workshop data on the host machine, while the React Native mobile app lets technicians document repair steps, attach photos, and sync updates to the local database.

Stack

  • Backend: Django 4.2, Django REST Framework, PostgreSQL, python-dotenv, Gunicorn
  • Mobile: React Native (Expo) with asset uploads
  • Tooling: django-imagekit for media processing, django-cors-headers, django-extensions

Getting Started

  1. Clone the repository.
  2. Create a virtualenv inside hidralpress_backend and install dependencies:
    cd hidralpress_backend
    python -m venv .venv
    source .venv/bin/activate
    pip install -r requirements.txt
  3. Create a .env file in the project root (same level as manage.py) with your local settings:
    DJANGO_SECRET_KEY=replace-me
    DJANGO_DEBUG=True
    DB_ENGINE=django.db.backends.postgresql_psycopg2
    DB_NAME=your_database_name
    DB_USER=your_database_user
    DB_PASSWORD=your_database_password
    DB_HOST=localhost
    DB_PORT=5432
  4. Apply migrations and start the development server:
    python manage.py migrate
    python manage.py runserver

Mobile App

The HidralpressMobile directory contains the React Native project used by technicians. Follow the standard React Native workflow (npm install, npx expo start) and point the app to your local backend instance.

Development Notes

  • Sensitive settings are loaded from .env; the actual file is ignored by git to keep credentials local.
  • Static assets generated in production (hidralpress_backend/static/) are ignored; collect them during deployment.
  • python-dotenv must be installed where the Django project runs so settings.py can load environment variables.

About

Local maintenance system for Hidralpress. Django backend with PostgreSQL stores and edits workshop data directly on the host machine. Companion React Native app lets technicians document repair steps, attach photos, and sync updates to the local database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors