flasky
Companion code to my O'Reilly book "Flask Web Development", second edition.
파일 탐색기
최종 버전 다운로드 (.zip)- __init__.py
- authentication.py
- comments.py
- decorators.py
- errors.py
- posts.py
- users.py
- __init__.py
- forms.py
- views.py
- __init__.py
- errors.py
- forms.py
- views.py
- favicon.ico
- styles.css
- change_email.html
- change_email.txt
- confirm.html
- confirm.txt
- reset_password.html
- reset_password.txt
- change_email.html
- change_password.html
- login.html
- register.html
- reset_password.html
- unconfirmed.html
- new_user.html
- new_user.txt
- 403.html
- 404.html
- 500.html
- _comments.html
- _macros.html
- _posts.html
- base.html
- edit_post.html
- edit_profile.html
- followers.html
- index.html
- moderate.html
- post.html
- user.html
- __init__.py
- decorators.py
- email.py
- exceptions.py
- fake.py
- models.py
- 190163627111_account_confirmation.py
- 198b0eebcf9_caching_of_avatar_hashes.py
- 1b966e7f4b9e_post_model.py
- 2356a38169ea_followers.py
- 288cd3dc5a8_rich_text_posts.py
- 38c4e85512a9_initial_migration.py
- 456a945560f6_login_support.py
- 51f5ccfba190_comments.py
- 56ed7d33de8d_user_roles.py
- d66f086b258_user_information.py
- alembic.ini
- env.py
- README
- script.py.mako
- common.txt
- dev.txt
- docker.txt
- heroku.txt
- prod.txt
- __init__.py
- test_api.py
- test_basics.py
- test_client.py
- test_selenium.py
- test_user_model.py
- .gitignore
- boot.sh
- config.py
- docker-compose.yml
- Dockerfile
- flasky.py
- LICENSE
- Procfile
- README.md
- requirements.txt
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/miguelgrinberg/flasky
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd flasky
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Docker
쉬움 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Docker Desktop 컨테이너를 빌드하고 실행하려면 필요합니다. 설치 후 실행해서 백그라운드에 켜두세요.
docker compose up -d --build
정의된 모든 컨테이너(서버, DB 등)를 한 번에 빌드하고 백그라운드에서 실행합니다.
터미널에 docker compose ps 를 입력해 컨테이너들이 Up 상태인지 확인하세요. README에 포트 번호가 적혀있다면 브라우저에서 http://localhost:포트번호 로 접속해보세요.
// repository documentation
Was this content helpful?
(0 ratings)
