I'm having trouble on this command on the Database Models section on the page :
"./manage.py makemigrations netbox_animal_sounds"
since I'm on the plugin directory, this command doesn't exists.
I tried using the command present on netbox folder (/opt/netbox-2.8.3/netbox/manage.py) but got this result:
"CommandError: This command is available for development purposes only. It will
NOT resolve any issues with missing or unapplied migrations. For assistance,
please post to the NetBox mailing list:
I have already executed "python setup.py develop". I don't know what to do, if someone could help I would appreciate.
Thanks in advance.
-----
Commands:
(as root on a container) cd ~/
mkdir animal_sounds
cd animal_sounds
vi setup.py
<pasted this content: https://github.com/netbox-community/netbox-animal-sounds/blob/master/setup.py>
echo "TEST" > README
cd animal_sounds
vi __init__.py
<pasted this content: https://github.com/netbox-community/netbox-animal-sounds/blob/master/netbox_animal_sounds/__init__.py>
vi models.py
<pasted this content: https://github.com/netbox-community/netbox-animal-sounds/blob/master/netbox_animal_sounds/models.py>
cd ..
(venv) root@8c5f9e5d7066:~/animal_sounds# python setup.py develop
running develop
running egg_info
creating netbox_animal_sounds.egg-info
writing netbox_animal_sounds.egg-info/PKG-INFO
writing dependency_links to netbox_animal_sounds.egg-info/dependency_links.txt
writing top-level names to netbox_animal_sounds.egg-info/top_level.txt
writing manifest file 'netbox_animal_sounds.egg-info/SOURCES.txt'
reading manifest file 'netbox_animal_sounds.egg-info/SOURCES.txt'
writing manifest file 'netbox_animal_sounds.egg-info/SOURCES.txt'
running build_ext
Creating /opt/netbox-2.8.3/venv/lib/python3.6/site-packages/netbox-animal-sounds.egg-link (link to .)
Adding netbox-animal-sounds 0.1 to easy-install.pth file
Installed /root/animal_sounds
Processing dependencies for netbox-animal-sounds==0.1
Finished processing dependencies for netbox-animal-sounds==0.1
(venv) root@8c5f9e5d7066:~/animal_sounds/animal_sounds# /opt/netbox-2.8.3/netbox/manage.py makemigrations netbox_animal_sounds
CommandError: This command is available for development purposes only. It will
NOT resolve any issues with missing or unapplied migrations. For assistance,
please post to the NetBox mailing list:
https://groups.google.com/forum/#!forum/netbox-discuss