StamusNetworks / scirius

Scirius is a web application for Suricata ruleset management and threat hunting.
GNU General Public License v3.0
610 stars 149 forks source link

When i install scirius on my centos machine,i can't find syncdb. #132

Open Raul1718 opened 6 years ago

Raul1718 commented 6 years ago

[root@onion scirius]# python manage.py syncdb Unknown command: 'syncdb' Type 'manage.py help' for usage.

See: https://groups.google.com/forum/#!topic/selks/byNY9hSddfM

d1eg0v commented 6 years ago

Hi,

The syncdb command was deprecated in django 1.7, try "python manage.py migrate".

On Sun, Mar 18, 2018, 9:27 PM raul17 notifications@github.com wrote:

[root@onion scirius]# python manage.py syncdb Unknown command: 'syncdb' Type 'manage.py help' for usage.

See: https://groups.google.com/forum/#!topic/selks/byNY9hSddfM

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/StamusNetworks/scirius/issues/132, or mute the thread https://github.com/notifications/unsubscribe-auth/AFPoTGJ9HygNEbzbejBfPSql5pASv_riks5tfwmQgaJpZM4SvecO .

Raul1718 commented 6 years ago

@d1eg0v thanks,brother.

Raul1718 commented 6 years ago

@d1eg0v what is my default username password? The official document seems to be old.

d1eg0v commented 6 years ago

If you are upgrading from a previous version make sure you copy the old database. If not then create a new user "python manage.py createsuperuser". Always a good idea to look at the help " python manage.py help".

Good luck!

Raul1718 commented 6 years ago

@d1eg0v hi i hava login in. but the page is a mess.like this: http://chuantu.biz/t6/259/1521434492x-1404781198.png

Raul1718 commented 6 years ago

@d1eg0v my command: sudo npm install -g npm@latest webpack@3.11 npm install

d1eg0v commented 6 years ago

@Raul1718 you have to run webpack refer to: https://scirius.readthedocs.io/en/latest/installation-ce.html#running-scirius-ce

That will generate all the static files, CSS's, etc...

regit commented 6 years ago

Thanks @d1eg0v ! Just updated the doc fixing migrate and adding createsuperuser.