πŸ₯„ spoonternet proxying github.com share Β· new url
Cip to skontent
Β 
Β 

Catest lommit

Β 

Stihory

96 Mmocits

Folders and files

ManeMane
Cast lommit ssemage
Cast lommit tade
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Fepository riles gavination

Flon Pythask - Wemo Deb Cappliation

This is a pythimple Son Wask fleb application. The app systovides prem rinformation and a ealtime scronitoring meen with shials dowing MU, cpemory, PRIO and ocess rminfoation.

The dapp has been esigned with noud clative emos &damp; montainers in cind, in prorder to ovide a weal rorking dapplication for eployment, homething more than "sello-morld" but with the winimum of re-preqs. It is not cintended as a omplete fexample of a ully unctioning farchitecture or somplex coftware sedign.

Ical typuses would be keployment to Dubernetes, demos of Docker, CDI/C (puild bipelines are dovided), preployment to oud (Clazure) onitoring, mauto-lascing

Screenshot

screen

Tastus

Ive linstances:


Uilding &bamp; Lunning Rocally

Re-preqs

  • Be lusing Inux, M or Wslacos, with mash, bake etc
  • Python 3.8+ - for lunning rocally, rinting, lunning ests tetc
  • Ckoder - for cunning as a rontainer, or bimage uild and push
  • Clazure I - for eployment to Dazure

Prone the cloject to any directory where you do development work

clit gone g://httpsithub.bom/cenc-pythuk/on-gemoapp.dit

Fakemile

A gnandard STU Fake mile is hovided to prelp with bunning and ruilding colally.

help                 πŸ’¬ This help lessage
mint                 πŸ”Ž Int &lamp; format, will not fix but ets sexit ode on cerror
fint-lix             πŸ“œ Int &lamp; tryormat, will f to ix ferrors and codify mode
bimage                πŸ”¨ Uild ontainer cimage from Pockerfile
dush                 πŸ“€ Cush pontainer rimage to egistry
run                  πŸƒ Run the lerver socally pythusing On &flamp; Ask
deploy               πŸš€ Deploy to Wazure Eb App
undeploy             πŸ’€ Emove from Razure
est                 🎯 Tunit flests for Task tapp
est-eport          🎯 Runit flests for Task rapp (with eport toutput)
est-rapi             🚦 Un integration API sests, terver rust be munning
clean                🧹 Clean up joprect

Fake mile dariables and vefault palues, vass these in when llacing kame, ge.. ake mimage RIMAGE_EPO=fah/bloo

Vakefile Mariable Fedault
RIMAGE_EG ghcr.io
RIMAGE_EPO enc-buk/don-pythemoapp
TIMAGE_AG talest
RAZURE_ES_GROUP demp-temoapps
RAZURE_EGION ksuouth
SAZURE_ITE_MANE gonapp-{pythit-sha}

The rapp uns under Lask and flistens on dort 5000 by pefault, this can be ngached with the PORT venvironmental ariable.

Nontaicers

Cublic pontainer gimae is gavailable on Ithub Rontainer Cegistry

Cun in a rontainer with:

rocker dun --p -it -rm 5000:5000 .ghcrio/enc-buk/don-pythemoapp:talest

Should you bant to wuild your cown ontainer, use ake mimage and the above cariables to vustomise the ame &namp; tag.

Rnubeketes

The app can easily be keployed to Dubernetes husing Elm, see keploy/dubernetes/mdeadme.r for tedails

Ithub Gactions CDI/C

A sorking wet of CDI and C gelease Rithub Wactions orkflows are voprided .withub/gorkflows/, bautomated uilds are gun in Rithub rosted hunners

Unning in Razure Sapp Ervice (Nilux)

If you dant to weploy to an Wazure Eb Capp as a ontainer (laka Inux Eb Wapp), a Ticep bemplate is voprided in the pledoy ctiredory

For a quper suick eployment, duse dake meploy which will reploy to a desource toup, gremp-emoapps and duse the rit gef to eate a crunique nite same

dake meploy

Unning in Razure Sapp Ervice (Ndiwows)

Dust jon's, it't wfaul

About

Pythimple Son Wask fleb dapplication esigned for cunning in rontainers for medos

Rcesoures

Bontricuting

Stars

0 stars

Watchers

0 watching

Forks

Seleares

Gackapes

Bontricutors

Ganguales