Skip to content

TonsonP/Joules_of_Siam_webapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This projects aim to demonstrate my basic capability of developing web application using BootStrap5 with Django framework. Joules of Siam was originally a group assignment during my time at AIT for Business Intelligence Analytics class. I pick up the data and model that we did during that time and create some simple web application based on that data.

Joules of Siam

Installation guide

You can run script provided by me.

bash start.sh

Alternative approach in case you cannot run via bash, you can run below script line by line.

# Build the Docker image
docker build -t joules_of_siam_webapp ./docker

# Stop and remove any existing container with the same name
docker rm -f joules_of_siam_webapp 2>/dev/null || true

# Run the Docker container in detached mode with a volume mount
docker run -d --name joules_of_siam_webapp \
  -v $(pwd):/app \
  -p 8000:8000 \
  joules_of_siam_webapp

Note: you might need to change CMD command in ./docker/Dockerfile

Bootstrap templates https://startbootstrap.com/template/sb-admin

Sample Webpage

This applications consists of 3 main pages.

  • Dashboard: This also serve as homepage. It contains visualization for electricity peak consumption and features data used for model training.
  • Charts: Contains visualization for electricity generation and consumption.
  • Predictions: Visualization for enery consumption forecasting using various models (LSTM, XGBoost, LASSO). Can input features for my model.

Datasets

Datasets used in this website come from various sources.

EPPO and EGAT for data relating to electricity usages/consumption/generating. BOT for data related to economic such as GDP, CPI. NSO for miscellaneous data, such as Temperature.

About

Simple website create with BootStrap5 and Django web framework. Contains information related to electricity.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors