cookiecutter-react-django
From hello world to Heroku deployment, using separated Front and Back Ends
파일 탐색기
최종 버전 다운로드 (.zip)- bug_report.md
- feature_request.md
- codeql-analysis.yml
- contributing.doctree
- deployment.doctree
- environment.pickle
- foreword.doctree
- index.doctree
- quickstart.doctree
- security.doctree
- api-demo.png
- index-demo.png
- contributing.rst.txt
- deployment.rst.txt
- foreword.rst.txt
- index.rst.txt
- quickstart.rst.txt
- security.rst.txt
- alabaster.css
- api-demo.png
- basic.css
- custom.css
- doctools.js
- documentation_options.js
- file.png
- index-demo.png
- jquery-3.4.1.js
- jquery.js
- language_data.js
- minus.png
- other-index-demo.png
- plus.png
- pygments.css
- searchtools.js
- underscore-1.3.1.js
- underscore.js
- .buildinfo
- contributing.html
- deployment.html
- foreword.html
- genindex.html
- index.html
- objects.inv
- quickstart.html
- search.html
- searchindex.js
- security.html
- api-demo.png
- index-demo.png
- conf.py
- contributing.rst
- deployment.rst
- foreword.rst
- index.rst
- make.bat
- Makefile
- quickstart.rst
- requirements.txt
- security.rst
- __init__.py
- base.py
- development.py
- production.py
- __init__.py
- asgi.py
- urls.py
- wsgi.py
- __init__.py
- __init__.py
- test_example.py
- __init__.py
- admin.py
- apps.py
- models.py
- serializers.py
- views.py
- base.txt
- development.txt
- production.txt
- Dockerfile
- manage.py
- setup.cfg
- favicon.ico
- index.html
- logo192.png
- logo512.png
- manifest.json
- robots.txt
- App.css
- App.js
- App.test.js
- index.css
- index.js
- logo.svg
- serviceWorker.js
- setupTests.js
- .gitignore
- Dockerfile
- package-lock.json
- package.json
- README.md
- .gitignore
- docker-compose.yml
- Dockerfile
- heroku.yml
- README.md
- .gitignore
- .readthedocs.yaml
- .travis.yml
- _config.yml
- CODE_OF_CONDUCT.md
- cookiecutter.json
- LICENSE
- README.md
- renovate.json
- SECURITY.md
- tasks.py
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/ohduran/cookiecutter-react-django
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd cookiecutter-react-django
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Docker
쉬움 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Docker Desktop 컨테이너를 빌드하고 실행하려면 필요합니다. 설치 후 실행해서 백그라운드에 켜두세요.
Now, on your terminal, simply do `docker-compose up --build`, and wait for the containers to build. Eventually, you'll be able to see the index page by going to [`http://127.0.0.1/`](http://127.0.0.1/):
compose 설정 파일에 정의된 서비스들을 대상으로 명령을 실행합니다.
터미널에 docker compose ps 를 입력해 컨테이너들이 Up 상태인지 확인하세요. README에 포트 번호가 적혀있다면 브라우저에서 http://localhost:포트번호 로 접속해보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
3. Node.js
쉬움사전 준비물
⚠️ 이 프로젝트는 규모가 큰 저장소라, 이 방법이 실제 핵심 제품이 아니라 내부 하위 패키지를 가리키는 것일 수 있습니다. README 전체를 함께 확인해보세요.
cd {{cookiecutter.project_slug}}/frontend
이 프로젝트의 관련 파일이 하위 폴더 안에 있어서, 먼저 그 폴더로 이동합니다.
npm install
package.json에 명시된 라이브러리들을 내려받아 설치합니다.
npm start
개발/실행 서버를 켭니다.
명령어 실행 후 터미널에 나타나는 주소(보통 http://localhost:3000 형태)를 브라우저에서 열어보세요.
4. Python
쉬움사전 준비물
⚠️ 이 프로젝트는 규모가 큰 저장소라, 이 방법이 실제 핵심 제품이 아니라 내부 하위 패키지를 가리키는 것일 수 있습니다. README 전체를 함께 확인해보세요.
python <실행할 파일명>.py # README에서 정확한 실행 파일명을 확인하세요
파이썬 스크립트(또는 모듈)를 실행합니다.
에러 메시지 없이 실행되고 터미널에 안내 문구가 출력되면 정상입니다.
// repository documentation
Was this content helpful?
(0 ratings)
