Install Django on ASUS Tinker Board

Published

Introduction: Install Django on ASUS Tinker Board

About: This is shubham, very cool boy. passionate about electronics.

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

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

Thanks

for any query mail me at shubhamtrivedi95@gmail.com

follow me on facebook

Share

    Recommendations

    • Clocks Contest

      Clocks Contest
    • Planter Challenge

      Planter Challenge
    • Oil Contest

      Oil Contest
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    Comments