This repository has been archived by the owner on Jan 24, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathInstallation Instruction.html
71 lines (71 loc) · 3.45 KB
/
Installation Instruction.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<html><head><style>body {
color: black;
}
</style></head><body><h1 id="hotel-management-system">Hotel Management System</h1>
<p>Created by <a href="https://github.com/sparshagarwal25" title="Sparsh Agarwal">Sparsh Agarwal</a>, <a href="https://github.com/RaghavGoyal12301" title="Raghav Goyal">Raghav Goyal</a>, Vineet Sharma, Priya Kaushik</p>
<p><a href="https://github.com/sparshagarwal25/HotelManagementSystem" title="Hotel Management System">GitHub Link</a></p>
<h2 id="about">About</h2>
<p>In this project we will make a Java Swing GUI software for Hotel Management.
In which the </p>
<ul>
<li>User can -<ul>
<li>Make Account</li>
<li>Login</li>
<li>Book Room</li>
<li>Book Services</li>
<li>Make Complaints</li>
<li>Checkout</li>
<li>Leave Feedback</li>
</ul>
</li>
<li>Admin can - <ul>
<li>Login</li>
<li>See Customer Details</li>
<li>Respond to Customer Complaints</li>
<li>See Report</li>
<li>See Feedback</li>
</ul>
</li>
<li>Everyone can - <ul>
<li>See Hotel Info</li>
<li>See Room Info</li>
<li>See About Software</li>
</ul>
</li>
</ul>
<h2 id="installation-instructions">Installation Instructions</h2>
<h3 id="prerequisites">Prerequisites</h3>
<ul>
<li>JDK 1.8 + Java 13 installed (if not follow this <a href="https://docs.oracle.com/en/java/javase/13/install/installation-jdk-microsoft-windows-platforms.html#GUID-A7E27B90-A28D-4237-9383-A58B416071CA">instruction</a>)</li>
<li>Apache NetBeans 11.3 (download from this <a href="https://netbeans.apache.org/download/index.html">link</a>)</li>
</ul>
<h3 id="steps">Steps</h3>
<p>Now that we have all the above things resolved we can import our Project.</p>
<ol>
<li>Extract the Project Folder.</li>
<li>Open NetBeans.</li>
<li>Go to Services Tab and open Databases tab.</li>
<li>Right Click on Java DB option and select Properties.</li>
<li>In the Java DB installation select the derby.jar file from the Libraries Folder.</li>
<li>Now in the Database location option select the path where you want to save the database.</li>
<li>Select OK.</li>
<li>Now right click on Java DB and select create a New Database.</li>
<li>Name the Database as "HMSdb", Username as "user01", Password as "pass01".</li>
<li>Click OK.</li>
<li>You can now see a new Database created.</li>
<li>Go to the above selected path and replace the HMSdb folder with the HMSdb folder provided in the Database folder in the Project Folder.</li>
<li>Now go to Projects tab.</li>
<li>Click on File Tab in Toolbar and select open project.</li>
<li>Select the location of HotelManagementSystem Folder in the Project Folder and select OK.</li>
<li>Now you can see a new Project opened in the Projects Tab.</li>
<li>Now Right click on the Libraries option in the Project Folder and select "Add JAR/Folder".</li>
<li>Now select all the files in the Libraries Folder provided in the Project Folder.</li>
<li>Now open the DBConnect.java file in package named OTHER.</li>
<li>In the Java file confirm the url, user and password (line 30, 31 and 32 respectively) with the details filled when creating Database.</li>
<li>Now open MailSender.java file and enter the email id and password of the gmail account you want to use to send the mails.</li>
<li>Now go to this <a href="https://www.google.com/settings/security/lesssecureapps">link</a> and turn "Allow less secure apps" option ON (Use the same Gmail Id as above).</li>
<li>Click on Build and Clean option in toolbar.</li>
<li>Now you can run the project from toolbar.</li>
</ol>
<p>Enjoy ;-)</p>
</body></html>