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.7.0.tar.gz
(304.2 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.7.0-py3-none-any.whl
(296.9 kB
view details)
File details
Details for the file hbdjinvoicing-0.7.0.tar.gz.
File metadata
- Download URL: hbdjinvoicing-0.7.0.tar.gz
- Upload date:
- Size: 304.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63958ae12d220d0386fce73badc60d62621640ada87dec1bc7ab25ccde08ea83
|
|
| MD5 |
0de068e5d009a475a0f5f8d170d9cef7
|
|
| BLAKE2b-256 |
e39bbedc9639d34b8048c46073a1d7a62a0ab9305a233d43e57874c632f6c6eb
|
File details
Details for the file hbdjinvoicing-0.7.0-py3-none-any.whl.
File metadata
- Download URL: hbdjinvoicing-0.7.0-py3-none-any.whl
- Upload date:
- Size: 296.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b81db55642976b1728a4c41f681544b9e741ebe3241e9662bc9cd2bd822a738
|
|
| MD5 |
756efbb4c24e5451608b2b05cb7f0405
|
|
| BLAKE2b-256 |
928273e30a9364071e015d4daa152f94f85c200a0456296591fc3839abf7f175
|