[Update] 删掉没用的脚本

pull/1100/head
ibuler 2018-03-15 18:14:43 +08:00
parent d92d09bd80
commit 5e41c5cadc
4 changed files with 0 additions and 39 deletions

View File

@ -1,5 +0,0 @@
#!/bin/bash
#
cd ..
docker build -t jumpserver/jumpserver:v0.4.0-beta1 .

View File

@ -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

View File

@ -1,4 +0,0 @@
#!/bin/bash
#
python ../apps/manage.py loaddata init

View File

@ -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"