Skip to content

asif4347/LEDyPi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Please clone this project and install all the dependencies through
pip install -r requirements.txt
then to run on 8000 port just run
python3 manage.py runserver
then visit http://127.0.0.1:8000
or to run on any specified port like 2222
python3 manage.py runserver 0.0.0.0:2222 http://127.0.0.1:2222 to run on port 80 and 443 you need sudo access
sudo python3 manage.py runserver 0.0.0.0:80
to pass any addition arguments to web please set them as environment variables before runing the program via above commands

export var_name="My value"

and to get these value i have written function in Home/views.py -> get_val_from_env and pass variable as arg get_val_from_env('var_name')

templates/home/index.html is html file you want to change in case

all the functions are in Home/views.py you can write you own code within them you can import scripts as well and use them in functions

make sure you have python3 installed. and if any issues please get back to me.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published