https://github.com/cheesecake87/flask-example-split-modules
A repo that contains a working example of Flask being setup over split modules.
https://github.com/cheesecake87/flask-example-split-modules
flask guides python ready-to-use snippets tutorials
Last synced: 10 months ago
JSON representation
A repo that contains a working example of Flask being setup over split modules.
- Host: GitHub
- URL: https://github.com/cheesecake87/flask-example-split-modules
- Owner: CheeseCake87
- License: cc0-1.0
- Created: 2022-12-20T11:26:35.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-28T15:18:21.000Z (over 1 year ago)
- Last Synced: 2025-06-24T00:06:04.577Z (12 months ago)
- Topics: flask, guides, python, ready-to-use, snippets, tutorials
- Language: Python
- Homepage:
- Size: 40 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FAS-2-Split-Modules
(FAS, Flask App Structure)
Contains a working example of a Flask App setup using split modules.
### Setup
(This assumes you have Python installed)
1. Download or Clone this repository.
2. Open terminal (Linux) / powershell (Windows) and cd to the directory of the project.
```text
# Linux
cd /path/to/FAS-2-Split-Modules
# Windows
cd C:\path\to\FAS-2-Split-Modules
```
---
### Linux
**Create a virtual environment and activate it.**
```bash
python3 -m venv venv
```
```bash
source venv/bin/activate
```
**Install the requirements.**
```bash
pip install -r requirements.txt
```
**run**
```bash
flask run
```
or
```bash
python3 app.py
```
---
### Windows
**Create a virtual environment and activate it.**
```bash
python -m venv venv
```
```bash
.\venv\Scripts\activate
```
**Install the requirements.**
```bash
pip install -r requirements.txt
```
**run**
```bash
flask run
```
or
```bash
python app.py
```