![Bungwe la Short-Pulogalamu yokhazikitsa ndikugwiritsa ntchito nodejscan ya sath 4370_1](/userfiles/21/4370_1.webp)
Nkhaniyi imapereka chitsogozo cha sitepe ndi sitepe kuti mukhazikitse ndikugwiritsa ntchito nodejscan ya nkhumba. Owerenga adzatha kudziwa za chitsanzo cha pulogalamuyi.
Nodejscan ndi digiri yokhazikika yomwe imagwiritsidwa ntchito pofufuza zotetezeka zachilengedwe. Iyenera kumvetsetsa bwino momwe Noodejscan ya masata imatha kugwiritsidwa ntchito ngati pakufunika kumene kunachitika.
Kukhazikitsa, kukhazikitsa ndikugwiritsa ntchito scannercan- Kukhazikitsa kwa ogwiritsa ntchito ndikuwonetsa (sqlalchemy_database_url) mu core / kukhazikitsa.py
- Kenako, imatsitsa phukusi la nodejssan kuchokera ku malo osungira a Gitab potembenukira ulalowu.
![Bungwe la Short-Pulogalamu yokhazikitsa ndikugwiritsa ntchito nodejscan ya sath 4370_2](/userfiles/21/4370_2.webp)
Pambuyo pake muyenera kupita ku chikwatu cha nodejsscan ndikukhazikitsa zigawo zonse zofunikira pogwiritsa ntchito lamulo:
Pip3 kukhazikitsa -r zofunikira.txt
![Bungwe la Short-Pulogalamu yokhazikitsa ndikugwiritsa ntchito nodejscan ya sath 4370_3](/userfiles/21/4370_3.webp)
- Muyenera kukwaniritsa lamulo ili (Python3 Migrate.Pey) Kamodzi kuti mupange zolemba zofunika mu database.
- "Python3 App.y" Lamulo la "limapangidwa kuti liziyesa sing'anga.
- Ikani GutiCicorn yomwe ikuyenera kugwira ntchito yolondola ya nodejsscan, mutha kugwiritsa ntchito "Gucticron -b 0,0.0.0: 19090 AP: Pulogalamu: Pulogalamu: Pulogalamu: Pulogalamu". Zimafunikira pa malo opangira.
![Bungwe la Short-Pulogalamu yokhazikitsa ndikugwiritsa ntchito nodejscan ya sath 4370_4](/userfiles/21/4370_4.webp)
Chida ichi chidzayendetsa nodejscan pa: http: //0.0.0: 9090. Ngati mukufuna kukonza, ikani debug kuti "yoona" mu core / makonda.py. Ndi kusintha kwa nthawi yayitali kwa chida ichi, nodejscan kuli ndi ziwerengero zochepera.
![Bungwe la Short-Pulogalamu yokhazikitsa ndikugwiritsa ntchito nodejscan ya sath 4370_5](/userfiles/21/4370_5.webp)
Lamulo la Limodzi kapena "Cli" limalola chida ichi kuphatikiza ndi ma delectops ci / CD. Zotsatira zidzaperekedwa kwa wogwiritsa ntchito mu json Form.
![Bungwe la Short-Pulogalamu yokhazikitsa ndikugwiritsa ntchito nodejscan ya sath 4370_6](/userfiles/21/4370_6.webp)
Zithunzi za docker zitha kukonzedwa chifukwa cha nodejscan pogwiritsa ntchito njira zotsatirazi:
- Choyamba, muyenera kuonetsetsa kuti wochitayo amaikidwa m'dongosolo.
- Wogwiritsa ntchito amayambitsa ntchito yogwiritsira ntchito mogwirizana:
Msonkhano wa Trace unter.
- Kenako, ili ndi lamulo lotsatirali:
Docker amamanga -t nodejsscan
- Kenako, pamapeto pake, imalowa lamulo ili kuti ligwire ntchito:
Docker Rut -t -p 9090: 9090 Nodejsscan
Chiwonetsero cha njira yonse pa chitsanzo chothandiza- Wogwiritsa ntchito adayesa chida ichi pa chosungira chosungira chokwanira komanso chosatetezeka.
- Ntchito ya nodejscan imagwirizana ndi mafayilo azomera .Zip yomwe yakulungidwa mu izo. Chifukwa chake, muyenera kukanikiza tsamba lanu .Js Code kupita ku .Ziyi yosungiramo zinthu zakale, kenako ndikutsegulanso.
- Pambuyo potsitsa fayilo ya zip, chida ichi chikuwonetsa wogwiritsa ntchito mndandanda wa zovomerezeka zonse.
![Bungwe la Short-Pulogalamu yokhazikitsa ndikugwiritsa ntchito nodejscan ya sath 4370_7](/userfiles/21/4370_7.webp)
![Bungwe la Short-Pulogalamu yokhazikitsa ndikugwiritsa ntchito nodejscan ya sath 4370_8](/userfiles/21/4370_8.webp)
Wolemba ntchito yomasuliridwa: Sudasu lukhar.
Zinthu zosangalatsa kwambiri pa Cisoclub.ru. Alembetsa ku US: Facebook | VK | Twitter | Instagram | Telegraph | Zen | Nthumwi | ICQ yatsopano | Youtube | .