https://github.com/alexfrancow/flask_deploy
⚡️ Flask fast deploy, yes, It includes Bootstrap 4.
https://github.com/alexfrancow/flask_deploy
bootstrap4 deploy fast flask install modular python3 setup webapp
Last synced: 2 months ago
JSON representation
⚡️ Flask fast deploy, yes, It includes Bootstrap 4.
- Host: GitHub
- URL: https://github.com/alexfrancow/flask_deploy
- Owner: alexfrancow
- Created: 2018-10-01T11:15:57.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-26T23:49:53.000Z (almost 7 years ago)
- Last Synced: 2025-03-14T14:14:50.472Z (over 1 year ago)
- Topics: bootstrap4, deploy, fast, flask, install, modular, python3, setup, webapp
- Language: Shell
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Usage
```sh
$ bash fast-deploy.sh
$ cd
$ python3 -V
Python 3.5.2
$ python3 run.py
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
* Restarting with stat
* Debugger is active!
* Debugger PIN: 108-677-645
```
```sh
$ tree
.
├── app
│ ├── __init__.py
│ ├── mods
│ │ └── mod_main
│ │ └── views.py
│ ├── static
│ │ ├── css
│ │ │ └── styles.css
│ │ └── js
│ └── templates
│ ├── index.html
│ └── layout.html
├── requirements.txt
└── run.py
7 directories, 7 files
```
This script only works on Python3, because in Python2 you need create a __init__.py to make Python treat the directories as containing packages. If you'll use this on Python2 you must create __init__.py in mods/ and in mods/mod_main/ folders, the __init__.py can just an empty file. For more info: https://docs.python.org/2/tutorial/modules.html#packages