live_upload_example
Demonstrating file uploads with Phoenix LiveView
파일 탐색기
최종 버전 다운로드 (.zip)- app.css
- phoenix.css
- app.js
- croppr.js
- image_utils.js
- media_recorder_demo.js
- resize_input.js
- uploaders.js
- croppr.css
- croppr.js
- topbar.js
- config.exs
- dev.exs
- prod.exs
- runtime.exs
- test.exs
- application.ex
- repo.ex
- user_socket.ex
- figure.html.heex
- figure_group.html.heex
- progress.html.heex
- file_component.ex
- upload_component.ex
- uploads.ex
- auto.ex
- auto.html.heex
- external_upload_single_entry.ex
- issue_2271.ex
- issue_2392.ex
- demo.ex
- demo.html.heex
- auto.ex
- auto.html.heex
- element.ex
- element.html.heex
- media_recorder.ex
- resize.ex
- echo.ex
- s3.ex
- basic_uploads_live.ex
- basic_uploads_live.html.heex
- component_uploads_live.ex
- croppr_live.ex
- croppr_live.html.heex
- multi_input_uploads_live.ex
- multi_input_uploads_live.html.heex
- page_live.ex
- page_live.html.heex
- app.html.heex
- live.html.heex
- root.html.heex
- error_helpers.ex
- error_view.ex
- layout_view.ex
- endpoint.ex
- gettext.ex
- router.ex
- telemetry.ex
- request.finch.ex
- drops.ex
- drops_web.ex
- echo_writer.ex
- s3_upload_writer.ex
- errors.po
- errors.pot
- .formatter.exs
- seeds.exs
- phoenix.png
- favicon.ico
- robots.txt
- auto_test.exs
- auto_test.exs
- basic_uploads_live_test.exs
- page_live_test.exs
- error_view_test.exs
- layout_view_test.exs
- channel_case.ex
- conn_case.ex
- data_case.ex
- upload_support.ex
- test_helper.exs
- .formatter.exs
- .gitignore
- docker-compose.yml
- Dockerfile
- mix.exs
- mix.lock
- README.md
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/mcrumm/live_upload_example
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd live_upload_example
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
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)
