Skip to content

About

Airline Online booking system

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

18 Commits

Folders and files

Repository files navigation

# Airline Booking System

A Django-based web application for managing flights, bookings, and customers for a private aircraft charter service.

## Overview

This application allows management of a fleet of private jets and provides functionality for customers to book flights between various destinations. The system tracks aircraft details, airport information, routes, flight schedules, and customer data.

## Technologies

- Python
- Django
- HTML/CSS
- Bootstrap
- JavaScript
- SQLite

## Installation

1. Create and activate a virtual environment
   ```
   python -m venv venv
   Windows: .venv\Scripts\activate
   ```

2. Install dependencies
   ```
   N/A
   ```
3. Make migrations
   ```
   python manage.py makemigrations
   ```
4. Run migrations
   ```
   python manage.py migrate
   ```

5. initialise data - This creates flight information to store in the database
   ```
   python manage.py init_data
   ```

6. Run the development server
   ```
   python manage.py runserver
   ```

## Project Structure

The project is organized into the following main components:

- Models: Defines the database schema for flights, aircraft, customers, etc.
- Views: Handles HTTP requests and responses
- Templates: Renders HTML pages for the user interface
- URLs: Maps URLs to views

## Docker

1. Build
```
docker build -t ass2 .
```
2.Run
```
docker run -p 8000:8000 ass2
```

About

Airline Online booking system

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages