- Don't require python2, drop useless install docs OBS-URL: https://build.opensuse.org/request/show/1100678 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/graphite-web?expand=0&rev=10
25 lines
808 B
Plaintext
25 lines
808 B
Plaintext
After install you must init graphite.db.
|
|
|
|
Normally:
|
|
|
|
django-admin makemigrations --pythonpath='/var/lib/graphite/webapp' --settings=graphite.settings
|
|
django-admin migrate auth --pythonpath='/var/lib/graphite/webapp' --settings=graphite.settings
|
|
django-admin migrate --run-syncdb --pythonpath='/var/lib/graphite/webapp' --settings=graphite.settings
|
|
django-admin createsuperuser --pythonpath='/var/lib/graphite/webapp' --settings=graphite.settings
|
|
|
|
|
|
But the first three things are done at package installation.
|
|
|
|
|
|
|
|
You only can do if you want. It's not needed for icingaweb2-module-graphite:
|
|
|
|
django-admin createsuperuser --pythonpath='/var/lib/graphite/webapp' --settings=graphite.settings
|
|
|
|
|
|
|
|
You must start carbon-cache anyway:
|
|
|
|
systemctl enable carbon-cache
|
|
systemctl start carbon-cache
|