No description
Find a file
jedi b1a221a8e8
All checks were successful
continuous-integration/drone/push Build is passing
add CSRF_TRUSTED_ORIGINS in settings
2023-10-22 22:09:50 +02:00
backend add CSRF_TRUSTED_ORIGINS in settings 2023-10-22 22:09:50 +02:00
docs setup for DRF 2023-06-16 19:28:36 +02:00
.build.yml add CI config 2023-06-16 20:21:44 +02:00
.gitignore add hostadmin app 2023-06-16 19:28:36 +02:00
LICENSE Initial commit 2023-03-06 22:13:36 +01:00
mkdocs.yml setup for DRF 2023-06-16 19:28:36 +02:00
README.md add Tags, Properties and Categories 2023-06-22 04:08:52 +02:00

toolshed

Installation / Development

git clone https://github.com/gr4yj3d1/toolshed.git

or

git clone https://git.neulandlabor.de/j3d1/toolshed.git

Backend

cd toolshed/backend
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python configure.py
python manage.py runserver 0.0.0.0:8000 --insecure

to run this in properly in production, you need to configure a webserver to serve the static files and proxy the requests to the backend, then run the backend with just python manage.py runserver without the --insecure flag.

Frontend

cd toolshed/frontend
npm install
npm run dev

Docs

cd toolshed/docs
mkdocs serve

CLI Client

Requirements

  • python3
  • python3-nacl

Usage Example

cli-client/toolshed-client.py --key <hex private key> --user name@example.com --host 1.2.3.4:8000 getinventory