Bump all dependencies, Python to 3.14
This commit is contained in:
1 parent
a7dba1fe2e
commit
1fb0b8385f
4 files changed
+143
-320
No files matched your search
@@ -1,21 +1,34 @@
|
||||
A Django app for managing computer equipment.
|
||||
|
||||
## Installation
|
||||
|
||||
Install system dependencies:
|
||||
|
||||
sudo apt install libmysqlclient-dev python-dev libldap2-dev libsasl2-dev bind9-utils
|
||||
virtualenv venv
|
||||
. venv/bin/activate
|
||||
pip install -r requirements.txt
|
||||
python manage.py migrate
|
||||
python manage.py runserver
|
||||
|
||||
Use [mise](https://mise.jdx.dev/) to manage Python and uv:
|
||||
|
||||
mise trust
|
||||
mise install
|
||||
|
||||
Install Python dependencies with uv:
|
||||
|
||||
uv sync
|
||||
|
||||
Run migrations and start the development server:
|
||||
|
||||
uv run python manage.py migrate
|
||||
uv run python manage.py runserver
|
||||
|
||||
## Development tasks
|
||||
|
||||
Dump test data:
|
||||
|
||||
python manage.py dumpdata mdb --natural-foreign --indent=4 > mdb/fixtures/test_data.json
|
||||
uv run python manage.py dumpdata mdb --natural-foreign --indent=4 > mdb/fixtures/test_data.json
|
||||
|
||||
## Features
|
||||
|
||||
* Creates DHCPD configuration files
|
||||
* Creates DNS zone files for BIND
|
||||
* Creates PXE config files (with random secret for use with Puppet autosign)
|
||||
* Partial IPv6 support
|
||||
- Creates DHCPD configuration files
|
||||
- Creates DNS zone files for BIND
|
||||
- Creates PXE config files (with random secret for use with Puppet autosign)
|
||||
- Partial IPv6 support
|
||||
Reference in new issue
Block a user