If you manage a fleet of assets (like testing devices) in an organization, you might have come across the challenge of tracking their status and who is using them. This Django application has been built with the aim of solving this issue.
- Clone this repo
$ git clone https://github.com/marco-lancini/asset-management.git
-
Update the
env
file with the relevant Postgres user/password -
Start the services with docker-compose:
$ cd assetmanagement
$ docker-compose up
In another terminal, setup the database schema:
$ docker-compose exec web python assetmanagement/manage.py makemigrations assets
$ docker-compose exec web python assetmanagement/manage.py sqlmigrate assets 0001
$ docker-compose exec web python assetmanagement/manage.py migrate
- Create a super user
$ docker-compose exec web python assetmanagement/manage.py createsuperuser
- The app can be accessed at: http://127.0.0.1/assets/