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.6.3.tar.gz
(303.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.6.3-py3-none-any.whl
(295.9 kB
view details)
File details
Details for the file hbdjinvoicing-0.6.3.tar.gz.
File metadata
- Download URL: hbdjinvoicing-0.6.3.tar.gz
- Upload date:
- Size: 303.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a001f2807a6363537f77dcde9614f83cd75ec7093ecf6df79ca040462733d632
|
|
| MD5 |
e6741e34773537c9d833a7ab73d1ef59
|
|
| BLAKE2b-256 |
f7f837ad6a8f7277e12d93e24530897f42053596eab834375d4d173a3680a33c
|
File details
Details for the file hbdjinvoicing-0.6.3-py3-none-any.whl.
File metadata
- Download URL: hbdjinvoicing-0.6.3-py3-none-any.whl
- Upload date:
- Size: 295.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 |
5c08fa0f0f2aefe4d029da8f7ecd6192f424a33ea4cfe0e12cbc0bd8a5c3969b
|
|
| MD5 |
3f1f335b4312ab9ee2ed5ff37836ab52
|
|
| BLAKE2b-256 |
00a0733df9438b7dba0014fc00677ab325bb9e8ad5386af4c14a50cdee282a28
|