Giter VIP home page Giter VIP logo

pyconapac-2016's Introduction

A git repository for PyCon APAC/Korea 2016

requirements

  • Python 2.7.9

development setting

$ git clone [email protected]:pythonkr/pyconapac-2016.git
$ cd pyconapac-2016
$ pip install -r requirements.txt
$ python manage.py compilemessages
$ python manage.py makemigrations  # flatpages
$ python manage.py migrate
$ python manage.py loaddata ./pyconkr/fixtures/flatpages.json
$ bower install
$ python manage.py runserver

deploy

서버 정보를 담고 있는 deploy/server.py 파일과 fabric이 필요합니다.

server.py 파일 예제.

# deploy/server.py

from fabric.api import env

env.pycon_user = 'username'
env.pycon_host = '123.456.789.012'
env.pycon_port = '1234'

fabric app deployment

$ fab deploy:dev
# or
$ fab deploy:www

fabric flatpages migration

$ fab flatpages_mig  # dev 의 데이터를 www로 덮어씀
# or
$ fab flatpages_mig:dev  # www 의 데이터를 dev 로 덮어씀

pyconapac-2016's People

Contributors

ahnjungho avatar darjeeling avatar lqez avatar woojing 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.