Cov txheej txheem:
Video: Nruab Django ntawm ASUS Tinker Board: 3 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:27
Hauv cov lus qhia no kuv yuav siv sej 3.5 thiab django 1.11.5
Kauj ruam 1: Yuav tsum tau ua
Cheebtsam yuav tsum tau:
- Tinker board nrog tinker os 2.0.1 thiab vnc
- TightVNC-saib software lossis txuas duab, nas, thiab keyboard rau tinker board
- nquag siv internet txuas
- get_pip cov ntaub ntawv
Kauj ruam 2: Txheej txheem
Nco ntsoov tias tinker board tau txuas nrog internet.
Rub cov ntawv get_pip.py
Qhib lub console thiab ntaus cov cai hauv qab no. Yog tias koj siv tightvncviewer ces nrhiav tus ip ntawm tinker board, nkag mus rau board thiab qhib console
"sudo apt-tau nruab hloov tshiab & sudo apt-tau nruab txhim kho"
sudo apt-tau nruab python-dev python3-dev
mus rau get_pip.py
hauv kuv cov ntaub ntawv nws nyob hauv Desktop
"Lub desktop"
ua cov ntaub ntawv no nrog cov lus txib hauv qab no
"sudo python3 get_pip.py"
qhov no yuav teeb tsa pip ntawm tinker board
tam sim no koj tuaj yeem siv pip los nruab Django tsuas yog ntaus cov lus hauv qab no
sudo pip3 nruab django
nkag mus rau koj phau ntawv qhia tsev
cd
ntaus cov lus txib hauv qab no los tsim koj thawj django lub vev xaib
"django-admin pib qhov project mysite"
hloov ntawm mysite koj tuaj yeem muab lub npe twg.
nkag mus rau phau ntawv ntawd
cd kuv
siv cov kev tsiv teb tsaws chaw
"python3 manage.py migrate"
khiav lub vev xaib
"python3 tswj.py runerver"
mus ntsib
yog tias koj tsis tau txais ib qho yuam kev ces nws ua haujlwm zoo kawg nkaus.
Qhov ntawd yog koj tau ua
Kauj ruam 3: Ua tiav
Ua tsaug
rau txhua qhov lus nug xa kuv ntawm [email protected]
ua raws kuv ntawm facebook
Pom zoo:
Nruab Nrab Nruab Nrab Chav Dej Teeb: 5 Kauj Ruam (nrog Duab)
Nruab Nrab Nruab Nrab Chav Dej Teeb: Peb ib txhia ntsib kev xav tau siv chav dej nyob nruab nrab hmo ntuj. Yog tias koj qhib lub teeb, tej zaum koj yuav tsis pom kev hmo ntuj. Lub teeb dawb lossis xiav ua rau koj plam qhov pw tsaug zog lawm, Melatonin, ua rau nws nyuaj rau rov mus pw. Yog li
Nruab Ubuntu 18.04.4 LTS ntawm Koj Lub Raspberry Pi Board: 8 Kauj Ruam
Nruab Ubuntu 18.04.4 LTS ntawm Koj Lub Raspberry Pi Board: Pab pawg Ubuntu tau tso tawm Ubuntu 18.04.4 Kev Pab Txhawb Ntev Ntev rau Raspberry Pi 2 /3 /4 ARM ib leeg-board khoos phis tawj. distro, uas yog txoj haujlwm ua haujlwm rau Raspber
LED Teeb Nruab Nrab Nruab Nrab: 13 Kauj Ruam
LED Teeb Nruab Nrab Nruab Nrab: Kuv tau hla cov khoom hu ua LED nplaim taws. Thaum taug kev tsis muaj phiaj xwm nyob ib puag ncig hauv is taws nem, thiab xav tias qhov no tuaj yeem ua rau lub tsaj nruab nrab nruab nrab zoo nkauj uas yog nplaim taws nyab xeeb thiab nqa mus ib puag ncig txawm tias nyob hauv LARP
Lub GoodNightLight: Lub Teeb Nruab Nrab Nruab Nrab Yooj Yim: 5 Kauj Ruam
Qhov GoodNightLight: Lub Teeb Nruab Nrab Nruab Nrab: Nyob zoo txhua tus, Kuv qhia Bioinstrumentation chav kawm rau cov tub ntxhais kawm theem nrab thaum lub caij ntuj no ua ib feem ntawm Purdue GERI (Lub Tsev Kawm Ntawv Muaj Txuj Ci Kev Kawm). Hauv chav kawm no, Kuv qhia cov tub ntxhais kawm txog cov hauv paus ntawm kev siv hluav taws xob thiab seb peb siv cov khoom siv hluav taws xob li cas hauv Biomedical Eng
Nruab RockBox ntawm IPod (Cov kauj ruam yooj yim): 6 Cov Kauj Ruam
Nruab RockBox ntawm IPod (Cov kauj ruam yooj yim): Cov lus qhia no kuv yuav qhia koj yuav ua li cas rau nruab RockBox, qhib qhov chaw ua haujlwm rau iPod! Tsis tas li kuv tsis muaj lub luag haujlwm rau kev puas tsuaj thiab/lossis cov ntaub ntawv poob tiav txhim kho RockBo