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.2.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.2-py3-none-any.whl
(295.8 kB
view details)
File details
Details for the file hbdjinvoicing-0.6.2.tar.gz.
File metadata
- Download URL: hbdjinvoicing-0.6.2.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 |
3ef697b5c870a6c79e4b7fcb8c9d0e75408332a64e51657eb82ec02364167a48
|
|
| MD5 |
e7bf6adcc0d1c9abe5604d07d672685f
|
|
| BLAKE2b-256 |
412abb67e5009aa2bfe8c643ae0d18920666071f648eebc9b8150bc3ea988015
|
File details
Details for the file hbdjinvoicing-0.6.2-py3-none-any.whl.
File metadata
- Download URL: hbdjinvoicing-0.6.2-py3-none-any.whl
- Upload date:
- Size: 295.8 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 |
cc4f36df6cd926b0351e2290baee1804a009b38992bf320085c8eea1aff93185
|
|
| MD5 |
5327195594b1d36c04f3e53934568281
|
|
| BLAKE2b-256 |
c174491f331de2af6bb6244caaf54fed719cfe1259116d65317450269e53533d
|