In this project, I need to build a Foursquare client using Django Framework.
This project is prepared for HIPO.
Install Django
$ pip install django
Create and activate a virtual environment.
$ python3 -m venv venv
$ source venv/bin/activate
Create a project
$ django-admin startproject euler
Create the web apps
$ python manage.py startapp web
Create an admin user
$ python manage.py createsuperuser
Install requests
$ pip install requests
Create sqlite database.
$ python manage.py makemigrations
$ python manage.py migrate
The development server: to verify your Django project works.
$ python manage.py runserver
Create a file which contains requirements of technical part(version).
$ pip freeze > requirements.txt
This project deploys on PythonAnywhere
- http://tutorial.djangogirls.org/
- https://docs.djangoproject.com/en/1.11/#first-steps
- https://docs.djangoproject.com/en/1.11/topics/class-based-views/#
- http://docs.python-requests.org/en/master/
- https://developer.foursquare.com/docs/venues/search
- https://developer.foursquare.com/overview/auth.html#userless
- https://devcenter.heroku.com/articles/deploying-python
- https://docs.djangoproject.com/en/1.11/ref/templates/builtins/#for-empty
- http://getskeleton.com/
- https://docs.python.org/3/library/urllib.request.html
- https://tutorial.djangogirls.org/tr/deploy/