Unverified Commit 0805ede7 authored by wojiushixiaobai's avatar wojiushixiaobai Committed by GitHub

Merge pull request #1786 from wojiushixiaobai/docs

[Fix]Docs
parents 1914a28a 9fba47c6
......@@ -126,10 +126,10 @@
$ cp $jumpserver_backup/config.py .
$ cp -r $jumpserver_backup/media/* data/media/
$ cd apps
$ cd $jumpserver_backup/
$ for d in $(ls);do
if [ -d $d ] && [ -d $d/migrations ];then
cp $jumpserver_backup/${d}/migrations/*.py ${d}/migrations/
cp ${d}/migrations/*.py /opt/jumpserver/apps/${d}/migrations/
fi
done
......@@ -137,6 +137,7 @@
::
$ cd /opt/jumpserver
$ pip install -r requirements/requirements.txt -i https://pypi.python.org/simple
$ cd utils && sh make_migrations.sh
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment