Skip to content

Hinon10/Operating_systems_final_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Timetable Project

This project is a Flask web application that connects to a PostgreSQL database (in my case with the help of docker) to display the table of courses based on the student’s level (courses grabbed from my course schedule).

Project Overview

This is an application that uses flask to build a web app that connects to a postgres database database contains a table named courses with course details like course_name, course_code, etc. Also for easy deployment used dockerization.

Before setup you should start your database and configure the files in a project for your usage:

you should change parameters username, password, port, and database after that for best experience add data to your database that can be graded by levels (if more that two, add some in the index.html)

The next step is to create a docker file by using this command: docker built -t image_name

And now you can follow further instructions for setup

Setup instructions using docker

pull the image by using docker pull image_name

Then run it in attached mode by using: docker run --name any_name p5000:5000 image_name

After that you can go to your localhost:5000 and see that app already works there.

Prerequisites

  • Python
  • PostgreSQL
  • Docker

Screenshots:

image image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages