Install Django on ASUS Tinker Board

About: I am hobbies, educator, learner, and developer in various programming languages and Electronic hardware's. I also won the Smart India Hackathon 2019 Competition organized by the Government of India. I am ve...

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

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Requirements

Components required:

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

Be the First to Share

    Recommendations

    • Made with Math Contest

      Made with Math Contest
    • Multi-Discipline Contest

      Multi-Discipline Contest
    • Robotics Contest

      Robotics Contest

    Discussions