Skip to main content

No project description provided

Project description

HbDjInvoicing

Quickstart

NAME_DB=hbdhinvoicing

# install requirements
pip install -r requirements.txt

# initialize database
createdb $NAME_DB
./manage.py migrate

# create superuser
./manage.py createsuperuser

# launch server
./manage.py runserver

Dev

# install requirements
pip install -r requirements-dev.txt

# to use celery
sudo apt install redis-server # install redis for ubuntu
celery -A invoicer worker --loglevel=info # launch redis server
# also uncomment lines in __init__ file at project root

# watch changes in sass files
sass --watch invoicer/static/sass/app.sass:invoicer/static/css/app.css

# lint
ruff format
ruff check --fix

Linter options in pyproject.toml.

How to update dependencies

  • Update dependencies in pyproject.toml (restrict max version if needed)

  • Update requirements files:

    pip-compile --extra=dev -o requirements-dev.txt
    pip-compile -o requirements.txt
    
  • Actually update dependencies in env:

    pip install --upgrade pip
    pip install -r requirements.txt -r requirements-dev.txt
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hbdjinvoicing-0.5.1.tar.gz (303.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hbdjinvoicing-0.5.1-py3-none-any.whl (295.3 kB view details)

Uploaded Python 3

File details

Details for the file hbdjinvoicing-0.5.1.tar.gz.

File metadata

  • Download URL: hbdjinvoicing-0.5.1.tar.gz
  • Upload date:
  • Size: 303.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for hbdjinvoicing-0.5.1.tar.gz
Algorithm Hash digest
SHA256 42531f8da8f0afb20237dd1560cfa47d42e63070cd793b5df0b0e5684133c905
MD5 f0f4029c55a0cb60545171128f7855d0
BLAKE2b-256 34a600e1b46413f95b92717bd9079551d1481cb54615f0a305f73b701b4e3cb4

See more details on using hashes here.

File details

Details for the file hbdjinvoicing-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: hbdjinvoicing-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 295.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for hbdjinvoicing-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c38ce7556d03e95f6b77d32ee1a74885f1426669315bd8bb3dff24bbcfb7ff5e
MD5 e19d905cb222a0c75f1b93023f8cacc2
BLAKE2b-256 bb1b80ce8160ec59efe34d226ad106e8ee8dc266de25404916dc878a879910ad

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page