-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlauncems.py
32 lines (23 loc) · 1.35 KB
/
launcems.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#
# ╔══════════════════════════════════╗
# ║ LaunceMS_New By Prattay Sarkar ║
# ║ aka. PrattaySarkar On Github ║
# ╚══════════════════════════════════╝
#
import configparser
from colorama import Fore
from flask import Flask, render_template
print(Fore.GREEN + "╔══════════╣ LaunceMS Server ╠══════════╗")
print(Fore.GREEN + "║+- Made Proudly In India -+║")
print(Fore.GREEN + "║+- By Prattay Sarkar, WB -+║")
print(Fore.GREEN + "╚═══════════════════════════════════════╝\n")
print(Fore.YELLOW + "|+- Trying To Start LaunceMS Dev Server...")
app = Flask(__name__, template_folder="HTML")
# ══════════════╣ USER AREA ╠════════════════
@app.route('/')
def index():
return render_template('index.html')
# ═════════════════════════════════════════════
if __name__ == '__main__':
print(Fore.BLUE + "|+- Switching To Flask Output For Error Checking...\n")
app.run(host='0.0.0.0', port=8080)