Skip to content

anmolbhalla/Hotel-Admin-System-Portal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

Hotel-Admin-System-Portal

A simple django framework based project to -

  • Update hotel room prices and room availability till a year for any hotel admin user persisitng to the database.
  • Bulk update for multiple days as well as update for single days.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

Python pip package If using python version 2 :

sudo apt-get install python-pip

If using python version 3 :

sudo apt-get install python3-pip

You will need Django framework to run this project smoothly. Go to your terminal and execute the following command or visit Django website.

For python 2 :

pip install django

For python 3 :

pip3 install django

Deployment

  • Execute Deployment_Script.sh and there you go !!!.

OR

A step by step series of examples that tells what you have to do to get this project running -

  • Enter the project directory.
  • Make migrations for the project -
python/python3 manage.py makemigrations
  • Migrate the changes -
python/python3 manage.py migrate
  • Create SuperUser-
python/python3 manage.py createsuperuser

Provide username, email and password and remember it.

  • Run the server -
python/python3 manage.py runserver

Usage

  • First go to http://127.0.0.1:800/home/db to establish the database.
  • The calender on home shows the values from the databse. SOme default is being set.

Screenshot

  • To update values in the database for multiple days select the fields and hit update.

Screenshot

  • To update value in the database for a single day click on the data to be updated in the calender and edit it and click anywhere outside it.

Screenshot

Screenshot

  • To check the entry in the database access :

    http://127.0.0.1:800/admin Authenticate yourself with the username and password created in the above steps. Go to Hotel and see the object you want to see. Screenshot

Built With

  • Django - Python web framework used.
  • Python - Python programming language.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published