Code Monkey home page Code Monkey logo

seminar-2022-django-assignment4's Introduction

Assignment 4

제출기한: 22.11.27(일) 23:59:59

problem 1: render.com을 이용한 production 배포

paas 플랫폼인 render.com을 이용해 django project를 배포합니다.

  • settings.py debug=false 로 설정되어야 합니다.
  • '/' 로 접근시 status 200과 함께 f"hello ${name}!"이 출력됩니다.

예시

제출

  • 기존과 같이 해당 repository의 root에 django project를 업로드해주세요.
  • 해당 repo를 fork 한 후, Pull request 요청합니다.
  • PR 내용에 접근 가능한 url을 제공해주세요. (예시: https://render-django-vzf1.onrender.com/)

problem 2: render.com을 이용한 custom management command cron job

custom management command를 작성한 후, 이를 render.com의 cronjob을 이용해 scheduled로 실행합니다.

  • management command는 어떤 일을 해도 상관없습니다. print(f"${name}") 등으로 로그를 확인할 수 있게 해주세요.
  • cronjob 문법을 이용해, 매일 한 번씩 자정 에 실행될 수 있도록 cronjob을 설정합니다.

제출

  • 설정 완료된 cronjob 페이지의 스크린샷을 repository root에 첨부해주세요.

예시2

seminar-2022-django-assignment4's People

Contributors

orbizzz avatar narayo9 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.