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.1.tar.gz (302.7 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.1-py3-none-any.whl (293.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hbdjinvoicing-0.3.1.tar.gz
  • Upload date:
  • Size: 302.7 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.1.tar.gz
Algorithm Hash digest
SHA256 55ff1da94712fe883e98e25dd4fb4c265c5d1d9aa52819718bbdea458876ee0d
MD5 9d60c2f5f4637d663b4d6ff51c665d68
BLAKE2b-256 15f3eef709b06e9d7172b775af05a4c679467f6651cc9676c399f32478b62a70

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hbdjinvoicing-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 293.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 776bd6f0959852f201a4374c0bd5b00762d95b0bdc87f31ade9b5d9de5c8d856
MD5 768b261ea1d63eeb670759d393c11901
BLAKE2b-256 83e28a1b2dbabececf5b13a4c01addcf1b0edb4f3d352e4f5e624e6f074afd87

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