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.3.2.tar.gz (302.8 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.3.2-py3-none-any.whl (293.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hbdjinvoicing-0.3.2.tar.gz
  • Upload date:
  • Size: 302.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for hbdjinvoicing-0.3.2.tar.gz
Algorithm Hash digest
SHA256 776b9ffe880f08b6d73d3b53da40678becf963248561555354c34088ded1f98f
MD5 6040e3294bf18db5884e9ff830e1362c
BLAKE2b-256 090f67d8acedd05926fc0eba5672680cf2c348e642db3316fc364abc561d7135

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hbdjinvoicing-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 293.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for hbdjinvoicing-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cdf2d5e369ee02d4b2ff3bd388bdab29712f30e25661e1a67de19d484b6d9fe9
MD5 3680413d35d508afee5a127e3851cc6a
BLAKE2b-256 cf68b7ab68d806b871365a37b446cb4d003d10802ebb869d34e58ebd4edb732b

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