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
Release history Release notifications | RSS feed
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.2.1.tar.gz
(302.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
hbdjinvoicing-0.2.1-py3-none-any.whl
(292.5 kB
view details)
File details
Details for the file hbdjinvoicing-0.2.1.tar.gz.
File metadata
- Download URL: hbdjinvoicing-0.2.1.tar.gz
- Upload date:
- Size: 302.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8342805bcc14c3c0be93a9753e37eac4674c910dc1e5abde09d48e77cd26444
|
|
| MD5 |
ce9c7fc05669757330096ea125b34011
|
|
| BLAKE2b-256 |
1ee470f32306d1ca681401b9d969ebc40e90a0a2af319e049b9e9fe07ad70dce
|
File details
Details for the file hbdjinvoicing-0.2.1-py3-none-any.whl.
File metadata
- Download URL: hbdjinvoicing-0.2.1-py3-none-any.whl
- Upload date:
- Size: 292.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a181dc1b5c1334182d5d1bc2d9ac4366f11d809a52459c6bd60e920ea88d8fb4
|
|
| MD5 |
3f97b0ccbab5d430b8bedd01fc5454bd
|
|
| BLAKE2b-256 |
03addd7319fda0a3c6395230a7e07b1b11aebfbade882c2bed63cb2f5df06d62
|