欢迎使用CSDN-markdown编辑器

来源:互联网 发布:富云软件科技有限公司 编辑:程序博客网 时间:2024/05/20 01:09

Image Gallery

it just is a exercise…

build on Django 1.9.2 on Python 2.7.9

Start

  1. Install PIL(Python Imaging Library) before you run it.
    installing-pil-with-pip (stackoverflow)

Install Xcode and Xcode Command Line Tools as mentioned. Use Pillow
instead, as PIL is basically dead. Pillow is a maintained fork of PIL.
https://pypi.python.org/pypi/Pillow/2.2.1

pip install Pillow

  1. Open cmd.exe
  2. Go manage.py runserver 0.0.0.0:8080
  3. Open http://127.0.0.1:8080/

    tips: http://127.0.0.1:8080/gallery works too.

Django Administration

a temporary superuser to this project, used at url /admin/

username: rootpassword: rootroot

created by manage.py createsuperuser

End

Any ideas are welcome:
qq: 997596439 or SnowstarCyan@gmail.com

0 0
原创粉丝点击