\documentclass[a4paper]{article}
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage[colorinlistoftodos]{todonotes}
\title{{\bf Car pooling System} \\Techinical Document}
\author{ {\bf Msc.CA Sem II } \\Sibu Stephen 13030142057 \\ Jay Patel 13030142092 }
\date{\today}
\begin{document}
\maketitle
\newpage
\tableofcontents
\newpage
\begin{abstract}
This guide covers preparing for installation, running the installation script, and the steps that should be done after the installation script has completed.
\end{abstract}
\section{System Requirements}
To install and run {\bf Car Pooling System } your web server must meet certain minimum requirements:-
\begin{itemize}
\item {\bf Disk Space} - A minimum installation requires 15 Megabytes.
\\ The required size will increase for database, files uploaded by the users, media, backups and other files.
\item {\bf Web Server} - Apache WebServer is required.
\item {\bf Database} - MySQL Server version 5.5.34 or higher.
\item {\bf PHP} - PHP version 5.4.9 or higher.
\end{itemize}
\section{Creating Database}
Create a database using MySQL commands in Command Line
\begin{itemize}
\item Create a new database:
\begin{itemize}
\item\begin{verbatim}mysql -u username -p create databasename \end{verbatim}
\end{itemize}
\item Log in and set the access database rights:
\begin{itemize}
\item\begin{verbatim}mysql -u username -p \end{verbatim}
\end{itemize}
\item At the MySQL prompt, set the permissions using the following command:
\begin{itemize}
\item\begin{verbatim}GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP,
INDEX, ALTER, CREATE TEMPORARY TABLES ON databasename.* TO
'username'@'localhost' IDENTIFIED BY 'password'; \end{verbatim}
\item In this case:
\begin{itemize}
\item databasename is the name of your database
\item 'username' is the username of your MySQL user account
\item 'localhost' is the host where CarPooling is installed
\item 'password' is the password required for that username
\end{itemize}
\end{itemize}
\item If successful, MySQL will reply with:
\begin{itemize}
\item\begin{verbatim} Query OK, 0 rows affected \end{verbatim}
\end{itemize}
\item Now exit the MYSQL prompt by typing:
\begin{itemize}
\item\begin{verbatim} exit \end{verbatim}
\end{itemize}
\end{itemize}
\section{Installing CarPooling}
\begin{itemize}
\item For Linux distrubution, Copy the CarPooling.zip File to document root directory. Unzip the CarPooling zip file in a folder and rename the folder as per your convinience.
\item Open {\bf carpooling\_config.php} file in a text-edior and input your {\bf database name, database username, database password and mysql hostname}. Also put in the desired {\bf table prefix}.
\begin{itemize}
\item \begin{verbatim}define('DB_NAME', 'databasename');\end{verbatim}
\item \begin{verbatim}define('DB_USER', 'username');\end{verbatim}
\item \begin{verbatim}define('DB_PASSWORD', 'password');\end{verbatim}
\item \begin{verbatim}define('DB_HOST', 'hostname');\end{verbatim}
\item \begin{verbatim}$table_prefix = 'prefix'; \end{verbatim}
\end{itemize}
\item Open the {\bf install\_script.php} file through the web-browser using the hostname.
e.g localhost/CarPooling/install\_script.php
\item If everything is successful, you will get a {\bf Success} message.
\end{itemize}
\section{Post Successful Installation}
\begin{itemize}
\item Now you can browse to the website through web-browser. e.g localhost/CarPooling/
\\ *{\it Note that CarPooling is the name of the website folder.Your website folder name can be different.}
\item The default user ie the first user is considered admin and has admin permission.
\begin{itemize}
\item username : admin
\item password : admin
\end{itemize}
\item Once logged in with default username and password the admin should change his password with {\bf Change Password} option.
\item Admin can further add,delete, update user and vehicle profile. He can also renew the pass.
\item Admin can change the site name and logo of the site through the customization option.
\end{itemize}
\end{document}