Skip to content
/ adroa Public

Set up a Flask app by running one command.

License

Notifications You must be signed in to change notification settings

esadek/adroa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Adroa

Build License Release

Set up a Flask app by running one command.

Installation

Clone repository and change directory:

git clone https://github.com/esadek/adroa.git
cd adroa

Usage

usage: adroa [-h] app_name

Set up a Flask app by running one command.

positional arguments:
  app_name    name of flask application

optional arguments:
  -h, --help  show this help message and exit

Run command, change directory, and run app:

python3 adroa my-app
cd my-app
python3 src/app.py

Then open http://localhost:5000/ to see your app.

Output

Running python3 adroa my-app will create a directory called my-app inside the current directory. Inside that directory, it will generate the initial project structure:

my-app/
├── README.md
├── .gitignore
├── src/
│   ├── __init__.py
│   ├── app.py
│   ├── templates/
│   │   ├── base.html
│   │   └── index.html
│   └── static/
│       └── style.css
└── tests/
    ├── conftest.py
    └── test_app.py

License

Adroa is MIT licensed. See LICENSE for details.