Skip to content

matiassenia/gastrosal

Repository files navigation

GastroSal

GastroSal is a Django monolith for anonymous salary submissions and filtering in the gastronomy/hospitality sector.

Stack

  • Python 3.13
  • Django 5.2
  • WhiteNoise for static serving
  • PostgreSQL in production (DATABASE_URL), SQLite fallback in local dev

Local setup (reproducible)

  1. Create virtual environment and install dependencies.
python -m venv env
env\Scripts\activate
pip install -r requirements.txt
  1. Configure environment.
copy .env.example .env

Set at least:

  • SECRET_KEY
  • DEBUG=True for local development
  1. Apply schema and run server.
python manage.py migrate
python manage.py runserver

Development commands

  • Run tests: python manage.py test
  • Run app-only tests: python manage.py test jobdata
  • Deployment checks: python manage.py check --deploy
  • Collect static files: python manage.py collectstatic --noinput

Deploy notes

  • WSGI entrypoint: gastrosal.wsgi:application
  • Procfile command: web: gunicorn gastrosal.wsgi:application --bind 0.0.0.0:$PORT
  • Set DEBUG=False in production and provide secure values for SSL/HSTS env vars from .env.example.

Project layout

  • gastrosal/: project config (settings.py, urls.py, wsgi.py)
  • jobdata/: app domain (models, forms, views, templates)
  • jobdata/templates/jobdata/: user-facing pages
  • jobdata/static/jobdata/: source static assets

About

GastroSal es una aplicación web desarrollada con Django, diseñada para gestionar datos laborales en la industria gastronómica.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors