devratnaarya / flask-admin-dashboard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build from sources

$ # Clone the sources
$ git clone https://github.com/app-generator/flask-dashboard-adminator.git
$ cd flask-dashboard-adminator

$ # Virtualenv modules installation (Unix based systems)
$ virtualenv --no-site-packages env
$ source env/bin/activate

$ # Virtualenv modules installation (Windows based systems)
$ # virtualenv --no-site-packages env
$ # .\env\Scripts\activate

$ # Install requirements
$ pip3 install -r requirements.txt

$ # Set the FLASK_APP environment variable
$ (Unix/Mac) export FLASK_APP=run.py
$ (Windows) set FLASK_APP=run.py
$ (Powershell) $env:FLASK_APP = ".\run.py"

$ # Set up the DEBUG environment
$ # (Unix/Mac) export FLASK_ENV=development

$ # Run the application
$ # --host=0.0.0.0 - expose the app on all network interfaces (default 127.0.0.1)
$ # --port=5000    - specify the app port (default 5000)  
$ flask run --host=0.0.0.0 --port=5000

$ # Access the app in browser: http://127.0.0.1:5000/

About

License:MIT License


Languages

Language:Python 86.1%Language:JavaScript 12.1%Language:HTML 1.0%Language:C 0.3%Language:CSS 0.3%Language:Mako 0.1%Language:PowerShell 0.0%Language:C++ 0.0%Language:Shell 0.0%Language:Dockerfile 0.0%