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.1.tar.gz
(303.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.4.1-py3-none-any.whl
(294.5 kB
view details)
File details
Details for the file hbdjinvoicing-0.4.1.tar.gz.
File metadata
- Download URL: hbdjinvoicing-0.4.1.tar.gz
- Upload date:
- Size: 303.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca397a9f65071f5ad66872af0a4f7be6fd923d646b29001aa0c47f91722d61ce
|
|
| MD5 |
2e392bafa048ae2c3cbe1504861f311b
|
|
| BLAKE2b-256 |
7aa52006d99ee9964fe96825d0b5d1d4f7af283ed5a78e561e9f0d3fc186ae69
|
File details
Details for the file hbdjinvoicing-0.4.1-py3-none-any.whl.
File metadata
- Download URL: hbdjinvoicing-0.4.1-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 |
cc798733cd2ed4c4e64d0b41bcc4df313758daeed716c8ddb4528882fb91ad1c
|
|
| MD5 |
0dd32a585741afc18a9405dcfeb53389
|
|
| BLAKE2b-256 |
cf7382256bae28bc290f852d30eebc36c576a3183636e6f4b3a70286af569ffb
|