GithubHelp home page GithubHelp logo

hellogithub-team / hellodjango-rest-framework-tutorial Goto Github PK

View Code? Open in Web Editor NEW
109.0 109.0 22.0 5.57 MB

完全免费、开源的 HelloDjango 系列教程之 django REST framework

Home Page: https://www.zmrenwu.com/courses/django-rest-framework-tutorial/

License: GNU General Public License v3.0

Python 70.57% CSS 12.03% JavaScript 3.52% Dockerfile 1.72% Shell 0.19% HTML 11.97%

hellodjango-rest-framework-tutorial's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

hellodjango-rest-framework-tutorial's Issues

[BUG]alphine的dockerfile应该加上gcc

否则构建带drf-yacs的容器,会依赖的ruamel.yaml.clib-0.2.6会报无法编译:
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-91vjgeeu/ruamel.yaml.clib/setup.py'"'"'; file='"'"'/tmp/pipn'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-eg
cwd: /tmp/pip-install-91vjgeeu/ruamel.yaml.clib/
Complete output (3 lines):
sys.argv ['/tmp/pip-install-91vjgeeu/ruamel.yaml.clib/setup.py', 'egg_info', '--egg-base', '/tmp/pip-pip-egg-info-f1t97jmm']
test compiling /tmp/tmp_ruamel_f8rc27v5/test_ruamel_yaml.c -> test_ruamel_yaml compile error: /tmp/tmp_ruamel_f8rc27v5/test_ruamel_yaml.c
Exception: command 'gcc' failed with exit status 1

DockerFile加上gcc:
RUN apk update \

Pillow dependencies \

&& apk add jpeg-dev zlib-dev freetype-dev lcms2-dev openjpeg-dev tiff-dev tk-dev tcl-dev gcc

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.