Coder Social home page Coder Social logo

docker-training-django's Introduction

docker_train

  • RDS mysql 서버에 접속합니다.

    $ mysql -h 'RDS Database Endpoint 주소' -u root -p
  • 데이터베이스를 생성합니다.

    mysql> create database 'DATABASE 명' character set utf8mb4 collate utf8mb4_unicode_ci;
  • my_settings 생성 후 DATABASES 의 정보를 본인의 RDS 데이터베이스에 맞게 수정합니다.

    ex)
    DATABASES = {
      'default' : {
          'ENGINE'   : 'django.db.backends.mysql',
          'NAME'     : 'DATABASE 명',
          'USER'     : 'DB 접속 계정명',
          'PASSWORD' : 'DB 접속 비밀번호',
          'HOST'     : 'RDS Database Endpoint 주소',
          'PORT'     : 'DB PORT',
      }
    }
  • secret key도 작성해주세요.

    ex)
    SECRET_KEY = 'YOU_HAVE_TO_GENERATE_RANDOM_SECRET_KEY'
  • setting_up.sh를 실행해 주세요.

    source setting_up.sh

docker-training-django's People

Contributors

devops-andrew avatar bigfanoftim avatar

Stargazers

taegyeong.ops avatar  avatar

Watchers

Eun Woo Song avatar James Cloos avatar Yeri avatar  avatar

Forkers

devops-andrew

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.