Skip to content

tegacodes/server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Uses python template language Jinja: https://jinja.palletsprojects.com/en/2.11.x/intro/#basic-api-usage See requirements.txt for python install requirements

  • create_html.py pulls data from the solar server (uses existing code in the function get_Data)

  • It then takes index.html in the template folder and rewrites it to the output folder with the data inserted into it.

  • try this with the apache server we have to serve the files from the output folder

  • we then run the create_html.py regularly with a cron job to get updated data.

Install:

Use a virtual environment: (macOS)

virtualenv -p python3 venv
source venv/bin/activate
pip install -r requirements.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published