003 arquitetura flask
1.0.0
문자 자습서 : https://codeshow.com.br/arquitetura-web-pyth-flask/
비디오 : https://youtu.be/-qwysunoatm 슬라이드 : http://bit.ly/codeshow-003-arquitetura-flask 또는 googledrive
https://pyjamas.live 컨퍼런스에서 프레젠테이션의 일부
git clone https://github.com/codeshow/003-arquitetura-flask.githttps://github.com/codeshow/003-arquitetura-flask/archive/new.zip
또는
wget https://github.com/codeshow/003-arquitetura-flask/archive/new.zipPython 3.6+ VirtualEnv를 활성화합니다
pip install -r requirements.txt
pip install -r requirements_dev.txt
pip install -r requirements_test.txtpytest pydaria/testsflask create-db # rodar uma vez
flask populate-db # rodar uma vez
flask add-user -u admin -p 1234 # adiciona usuario admin
flask run입장:
.
├── Makefile
├── pydaria (MAIN PACKAGE)
│ ├── app.py (APP FACTORIES)
│ ├── blueprints (BLUEPRINT FACTORIES)
│ │ ├── __init__.py
│ │ ├── restapi (REST API)
│ │ │ ├── __init__.py
│ │ │ └── resources.py
│ │ └── webui (FRONT END)
│ │ ├── __init__.py
│ │ ├── templates
│ │ │ ├── index.html
│ │ │ └── product.html
│ │ └── views.py
│ ├── ext (EXTENSION FACTORIES)
│ │ ├── admin.py
│ │ ├── appearance.py
│ │ ├── auth.py
│ │ ├── commands.py
│ │ ├── configuration.py
│ │ ├── database.py
│ │ └── __init__.py
│ ├── __init__.py
│ ├── models.py (DATABASE MODELS)
│ └── tests (TESTS)
│ ├── conftest.py
│ ├── __init__.py
│ └── test_api.py
├── README.md
├── requirements_dev.txt
├── requirements_test.txt
├── requirements.txt
└── settings.toml (SETTINGS)
7 directories, 26 files