Introduction: Install Django on ASUS Tinker Board

Picture of Install Django on ASUS Tinker Board

In this instructable i am going to use python3.5 and django 1.11.5

Step 1: Requirements

Components required:

  • Tinker board with tinker os 2.0.1 and vnc
  • tightvncviewer software or connect desktop,mouse and keyboard to tinker board
  • active internet connection
  • get_pip file

Step 2: Procedure

Picture of Procedure

Make sure that tinker board is connected to the internet.

Download get_pip.py file

Open the console and type following code. If you are using tightvncviewer then find out the ip of tinker board , login to board and open console

"sudo apt-get install update && sudo apt-get install upgrade"

"sudo apt-get install python-dev python3-dev"

navigate to get_pip.py

in my case its in Desktop

"cd Desktop"

execute this file with following command

"sudo python3 get_pip.py"

this will install pip on tinker board

now you can use pip to install Django just type following command

"sudo pip3 install django"

goto to your home directory

"cd"

type the following command to create your first django website

"django-admin startproject mysite"

instead of mysite you can give anyname.

goto the that directory

"cd mysite"

apply the migrations

"python3 manage.py migrate"

run the website

"python3 manage.py runserver"

visit to http://127.0.0.1:8000/

if you are not getting any error then it working perfectly.

Thats it you have done

Step 3: Done

Picture of Done

Thanks

for any query mail me at shubhamtrivedi95@gmail.com

follow me on facebook

Comments

About This Instructable

89views

2favorites

License:

Bio: This is shubham, very cool boy. passionate about electronics.
More by shubhamtrivedi95:Install Django on ASUS Tinker BoardIOT Base Computing Using Nodemcu and MicropythonLCD 16x2 Interface With Raspberry Pi
Add instructable to: