Let's assume that your project will be call citiesprj, and your project folder ~/projects, your first app will be called cities and your env will be called cities too.
pip install Django==1.9.5
pip install djangorestframework==3.3.3
pip install django-rest-swagger==0.3.6
django-admin.py startapp cities
We use this structure base on
and our experience in different jobs. We also include a bash file cli-test.sh in the root directory of the project with this info:
./manage.py test -- $1
Once you have created your skeleton you are ready to your first commit to github
I use PyCharm so I add .idea/ to my .gitignore file
git add .
git commit -m "first commit -> project skeleton"
git push origin master
Good luck!!!Share on Twitter Share on Facebook