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.4.0.tar.gz
(303.1 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.4.0-py3-none-any.whl
(294.5 kB
view details)
File details
Details for the file hbdjinvoicing-0.4.0.tar.gz.
File metadata
- Download URL: hbdjinvoicing-0.4.0.tar.gz
- Upload date:
- Size: 303.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5160d080575c53ad64b89c6c7d9a37644ba4aa466a0c32de96d08310b7867fd5
|
|
| MD5 |
ed3cce8833147d5e368b6b83837bf986
|
|
| BLAKE2b-256 |
641a7de13e6b25d9cfd3c345bd599899fbe9dbf148d6267481ef52b517c4f035
|
File details
Details for the file hbdjinvoicing-0.4.0-py3-none-any.whl.
File metadata
- Download URL: hbdjinvoicing-0.4.0-py3-none-any.whl
- Upload date:
- Size: 294.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6997e24e6c96723521d2423faa0168ebfe6432483c887f2ca30d755b0860dc0b
|
|
| MD5 |
32bb2b6bf3f38b143fc19432bcf5f1a3
|
|
| BLAKE2b-256 |
73f2ed3d51ee9aef33a6d77b59d859ee3b66ac994477bd6a8b2b3cac4608a76e
|