Giter Club home page Giter Club logo

booking_system's Introduction

#Booking System

Booking System is a web application based on Django framework and can be used to book different halls.

Note: See branch 'gd' for updated code.

Table of Contents

Introduction

Booking System is a Django based web application. The primary aim of this application is to minimize the wastage of time and money.

Pre-Requisites

  1. Apache2
  2. mysql-server
  3. python2.7
  4. python-pip
  5. python-mysqldb
  6. virtualenv
  7. django 1.7
  8. mysql-python

For the installation of Requiremets listed above, run the following commands in terminal:

  1. Apache2

     $ sudo apt-get install apache2
    
  2. mysql-server

     $ sudo apt-get install mysql-server
    
  3. python2.7

     $ sudo apt-get install python
    
  4. python-pip

     $ sudo apt-get install python-pip
    
  5. python-mysqldb

     $ sudo apt-get install python-mysqldb
    
  6. virtualenv

     $ pip install virtualenv
    
  7. Configuring Virtualenv

    • virtualenv venv
    • source venv/bin/activate
  8. Django 1.7.3

     $ pip install django==1.7.3
    
  9. mysql-python

     $ pip install mysql-python
    
  10. Now run the command

     $ pip freeze
    

And the output should be similar to:

    Django==1.7.3
    MySQL-python==1.2.5
    argparse==1.2.1
    wsgiref==0.1.2

Installation

  1. Log into you mysql account using the command:

    mysql -u root -p

  2. Create a new database for bookingsystem inside mysql shell:

mysql> create database bookingsystem;

mysql> quit

  1. Clone this repository using terminal:

git clone https://github.com/rvirdiz/booking_system.git

  1. Now traverse to the directory:

cd booking_system/src

  1. Edit booking_system/settings.py file. Things to be edited are:

    • In the 'DATABASES' section, replace the root in the 'USER' field with your mysql username and 1234 with your mysql password.These are the details those you entered in step 2 above.
  2. Create a superuser for your project:

python manage.py createsuperuser

Now add Username, email(optional) and password.
  1. To see the project working, shoot the following commands:

python manage.py migrate

python manage.py runserver 7000

Make sure you are in the booking_system/src directory in which the file 'manage.py' exists.
  1. Now open your web browser with the address:

http://localhost:7000

Enter the username and password similar to that you entered in step 6 above.

If you find any problem at any step of the installation, feel free to email us and for more detail check out the blog links given here.

#Team Members

##Mentor

Dr. Hardeep Singh Rai

Website: http://gndec.ac.in/~hsrai

##Developers

Mandeep Singh

Contact: [email protected]

Blog: http://mandeep7.wordpress.com

Listforks

Ramandeep Singh

Contact: [email protected]

Blog: http://ramanvirdiz.wordpress.com

booking_system's People

Contributors

rvirdiz avatar mandeeps708 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.