Rafael Arce Nazario c1f49650e8 first commit | пре 5 година | |
---|---|---|
app | пре 5 година | |
migrations | пре 5 година | |
nginx | пре 5 година | |
screenshots | пре 5 година | |
tests | пре 5 година | |
.dockerignore | пре 5 година | |
.env | пре 5 година | |
.eslintignore | пре 5 година | |
.eslintrc | пре 5 година | |
.gitignore | пре 5 година | |
.travis.yml | пре 5 година | |
Dockerfile | пре 5 година | |
LICENSE.md | пре 5 година | |
README.md | пре 5 година | |
config.py | пре 5 година | |
database.db | пре 5 година | |
docker-compose.yml | пре 5 година | |
gunicorn.py | пре 5 година | |
package.json | пре 5 година | |
requirements-sqlite.txt | пре 5 година | |
requirements.txt | пре 5 година | |
requirements_dev.txt | пре 5 година | |
run.py | пре 5 година | |
setup.cfg | пре 5 година |
Open-Source Admin Dashboard coded in Flask Framework on top of Black Dashboard design. Features:
$ # Get the code
$ git clone https://github.com/app-generator/flask-black-dashboard.git
$ cd flask-black-dashboard
$
$ # 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 modules
$ # SQLIte version (no PostgreSQL)
$ pip3 install -r requirements-sqlite.txt
$
$ # OR with PostgreSQL connector
$ pip 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
$ # (Windows) set FLASK_ENV=development
$ # (Powershell) $env:FLASK_ENV = "development"
$
$ # Start the application (development mode)
$ # --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 dashboard in browser: http://127.0.0.1:5000/
The application can be easily excuted in a docker container. The steps:
Get the code
$ git clone https://github.com/app-generator/flask-material-dashboard.git
$ cd flask-material-dashboard
Start the app in Docker
$ sudo docker-compose pull && sudo docker-compose build && sudo docker-compose up -d
Visit http://localhost:5000
in your browser. The app should be up & running.
Flask Dashboard Material | Flask Dashboard Argon | Flask Dashboard Black |
---|---|---|
Flask Dashboard Black - provided by AppSeed