项目
在 GitHub 查看
kevinastone/django-api-rest-and-angular
关于
将 Django Rest Framework 与 AngularJS 结合使用的示例仓库
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Django API with Django Rest Framework and AngularJS-Resource
This sample project is the companion of a blog post on how to get started with Django Rest Framework and AngularJS.
Dependencies
To setup and run the sample code, you're going to need npm from NodeJS available to install the frontend code.
Setup
Docker
If you have a docker host, you can simply use docker-compose to build the example, then open http://localhost:
docker-compose up
Manual
You're encouraged to setup a virtualenv to work in prior to configuring the dependencies.
Install Python Requirements
pip install -r requirements.txt python setup.py developInstall Bower + Grunt
npm install -g grunt-cli bowerInstall Assets
npm install bower installCompile Assets
gruntSetup the Database
make create_database; make make_fixturesRun the Server
./manage.py runserver
探索相关项目
加载中…