Commit 086f7b54 authored by Fence's avatar Fence 🌈

move clutter around

parent d6e1ac00
import sys
from mongoengine import connect
from minor.model import MajorInstance
key = None
with open(sys.argv[2], "r") as file:
key =
if key == None:
print("oh no!")
MajorInstance(issuer=sys.argv[1], key=key).save()
print("everything worked~")
from minor import app
from minor import App
# change upload dir!
app = App({"UPLOAD_DIR": "./upload"})
application = app.get_application()
\ No newline at end of file
docker run --name minor_mongo --restart=always -d -p 27017:27017 mongo
\ No newline at end of file
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