mirror of https://github.com/jumpserver/jumpserver
ibuler
7 years ago
4 changed files with 0 additions and 39 deletions
@ -1,5 +0,0 @@
|
||||
#!/bin/bash |
||||
# |
||||
|
||||
cd .. |
||||
docker build -t jumpserver/jumpserver:v0.4.0-beta1 . |
@ -1,18 +0,0 @@
|
||||
#!/bin/bash |
||||
# |
||||
|
||||
python ../apps/manage.py shell << EOF |
||||
from users.models import * |
||||
init_model() |
||||
|
||||
from assets.models import * |
||||
init_model() |
||||
|
||||
EOF |
||||
|
||||
python ../apps/manage.py dbshell << EOF |
||||
delete from auth_permission; |
||||
delete from django_content_type; |
||||
EOF |
||||
|
||||
python ../apps/manage.py dumpdata > ../apps/fixtures/init.json |
@ -1,4 +0,0 @@
|
||||
#!/bin/bash |
||||
# |
||||
|
||||
python ../apps/manage.py loaddata init |
@ -1,12 +0,0 @@
|
||||
#!/bin/bash |
||||
# |
||||
|
||||
|
||||
# Run redis |
||||
docker run --name redis -d redis |
||||
|
||||
# Run jumpserver |
||||
docker run -d --name jumpserver -p 8080:8080 --link redis:redis jumpserver/jumpserver:v0.4.0-beta1 |
||||
|
||||
# Finished |
||||
echo -e "Please visit http://ServerIP:8080\n Username: admin\nPassword: admin\n" |
Loading…
Reference in new issue