Django is a dev framework for building web apps that uses Python. It has many great features (db api, auto admin interface, templates, cache framework, etc.). Installing the framework on Windows take a few steps to get going and has a few prerequisites. The below steps assume you don’t have Python or Django currently installed. This guide was created on Windows 7 (64 bit). Now let’s get to it:
- Download Python: http://www.python.org/download/releases/3.3.3/
- Install Python (to c:\python)
- Go to the pip download area: http://www.pip-installer.org/en/latest/installing.html#using-the-installer
- Right click, download / save ez_setup.py to c:\python
- In cmd prompt: cd\python
- Run: python.exe ez_setup.py
- From the same link, download get-pip.py
- In the cmd prompt, run python.exe get-pip.py
- When finished, in cmd, navigate to: \python\scripts (where pip lives now)
- Now run pip install Django
- To see if Django was installed correctly, at a cmd prompt run:
python -c “import django; print(django.get_version())”
This should return 1.6.1 (or similar). - Add c:\python\scripts to your windows environment path
- Close / reopen a cmd prompt (to reflect the addition to your PATH variable)
- Now you can navigate to any folder (ie: c:\projects) and run:
django-admin.py startproject thenextbigidea - Your project was created! To test:
- Navigate to c:\projects\thenextbigidea and run:
python manage.py runserver - In your browser, visit: http://localhost:8000/
So that’s just the start. Visit https://docs.djangoproject.com to continue your journey!
Twilio is a great SMS (text message) gateway to use for sending and receiving SMS messages. The process is super simple and flexible to get started using (the Twilio REST API helper library is great). However, in my case, I wanted to access the API through a “windows form” application, but the API needs a little something extra to get this to function. In my experience, a proxy. Below are the steps from start to finish to retrieve messages from your Twilio account:
So maybe you have started to use the Exchange Web Services Managed API to get email from inboxes and wanted to get a few additional details. Below are two of the most popular issues: