mirror of
https://github.com/MikroWizard/mikroman.git
synced 2025-07-13 15:34:34 +02:00
MikroWizard Initial commit | MikroMan Welcome to the world :)
This commit is contained in:
commit
8c49b9a55d
96 changed files with 12274 additions and 0 deletions
7
migratedb.py
Normal file
7
migratedb.py
Normal file
|
@ -0,0 +1,7 @@
|
|||
"""Server database migrate"""
|
||||
import subprocess
|
||||
|
||||
dir ="/app/"
|
||||
cmd = "cd {}; PYTHONPATH={}py PYSRV_CONFIG_PATH={} python3 scripts/dbmigrate.py".format(dir, dir, "/app/real-server-config.json")
|
||||
subprocess.Popen(cmd, shell=True)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue