Just like a CPanel. but it's for python Flask only. The reason I make this is because my personal problem that I always manually deploy my app to my server.
- MySQL Database
- phpMyAdmin
- File Manager
- Backup
- Git
- SLL Let's encrypt
note: the unchecked will added soon
- Ubuntu server with
sudo
- python3
- screen
- a domain that already add
A
record to public server IPNote: Disable proxy, for certbot installation. you can enable it after installation done
Clone or download or anything this repo and put to your server. I recomended here
root
┗ 📦flask_panel
┣ 📂 flask_panel
┣ 📜config.json
┣ 📜flask_panel.py
┣ 📜flask_panel.sql
┗ 📜README.md
Set up the config file in config.json
{
"admin":{
"username":"admin",
"password":".Admin1234"
},
"server_name": {
"flask_panel": "panel.example.com",
"phpmyadmin":"database.example.com"
},
"phpver": "8.1"
}
- the
admin
is login access to your flask panel - the
server_name
is a domain withA
record to your public server IP.
get into flask_panel directory
$cd flask_panel
and run the installation
$python3 flask_panel.py
if this appear, just hit enter and enter Note: do not restart it
if this appear, press tab until the red box hit <Ok>
and press enter
it because flask_panel use nginx. so you don't need apache2 and lighttpd
if this appear, just hit yes and input whatever you want.
if the email input appear, just input your email. it's for certbot installation then y,y,y
if the App running..
apperear, thats mean installation done.
access your panel with flask_panel server_name
Explore it by yourself and feel free to contact me :3