

GitHub - gothinkster/django-realworld-example-app
source link: https://github.com/gothinkster/django-realworld-example-app
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md
Example Django DRF codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld API spec.
This repo is functionality complete — PR's and issues welcome!
Installation
- Clone this repository:
git clone [email protected]:gothinkster/productionready-django-api.git
. cd
intoconduit-django
:cd productionready-django-api
.- Install pyenv.
- Install pyenv-virtualenv.
- Install Python 3.5.2:
pyenv install 3.5.2
. - Create a new virtualenv called
productionready
:pyenv virtualenv 3.5.2 productionready
. - Set the local virtualenv to
productionready
:pyenv local productionready
. - Reload the
pyenv
environment:pyenv rehash
.
If all went well then your command line prompt should now start with (productionready)
.
If your command line prompt does not start with (productionready)
at this point, try running pyenv activate productionready
or cd ../productionready-django-api
.
If pyenv is still not working, visit us in the Thinkster Slack channel so we can help you out.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK