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.1.4.tar.gz
(302.7 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.1.4-py3-none-any.whl
(292.8 kB
view details)
File details
Details for the file hbdjinvoicing-0.1.4.tar.gz.
File metadata
- Download URL: hbdjinvoicing-0.1.4.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96c8941741d5b873d6e2a8c70301c23057a506dc6d6977da8bbbd97493530802
|
|
| MD5 |
f9e18eaeee08c5ed07161abeaad70799
|
|
| BLAKE2b-256 |
4facecb67a2fb8caeaa26c5055e200b3bb442965b3810916b3e60849aa61bf48
|
File details
Details for the file hbdjinvoicing-0.1.4-py3-none-any.whl.
File metadata
- Download URL: hbdjinvoicing-0.1.4-py3-none-any.whl
- Upload date:
- Size: 292.8 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 |
9d398ffc1dfd99332f9e6172ace17572f1c55b523e865a6250b0887be8462c2b
|
|
| MD5 |
2a67c7b30f5b4445a283065bc18bb707
|
|
| BLAKE2b-256 |
3588ca7479d20dfee956d62b209d9b7b7a250a3b10125df37253638c6874a5f1
|