Git Product home page Git Product logo

flask_panel's Introduction

img

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.

Feature

  • MySQL Database
  • phpMyAdmin
  • File Manager
  • Backup
  • Git
  • SLL Let's encrypt

note: the unchecked will added soon

then, How?


Requirements

  • Ubuntu server with sudo
  • python3
  • screen
  • a domain that already add A record to public server IP Note: Disable proxy, for certbot installation. you can enable it after installation done

Step 1

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

Step 2

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 with A record to your public server IP.

Example setting DNS A record img

Step 3

get into flask_panel directory

$cd flask_panel

and run the installation

$python3 flask_panel.py

if this appear, just hit enter and enter img Note: do not restart it

if this appear, press tab until the red box hit <Ok> and press enter img 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. img

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

flask_panel's People

Contributors

arsybai avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.