-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dai make css local #23
base: master
Are you sure you want to change the base?
Changes from all commits
c8f396f
c53da1a
4d6aaa6
6f56d26
4e57d1b
a683b59
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.idea/ |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
<?php | ||
|
||
$servername = "localhost"; | ||
$username = "root"; | ||
$password = ""; | ||
|
||
|
||
// $servername = "sql202.epizy.com"; | ||
// $username = "epiz_23626301"; | ||
// $password = "wtn2rmj3"; | ||
// Create connection | ||
$con = new mysqli($servername, $username, $password,'lrr'); | ||
|
||
// Check connection | ||
if ($con->connect_error) { | ||
die("Database Connection failed: " . $conn->connect_error); | ||
} | ||
// else | ||
// { | ||
|
||
// echo "Connected"; | ||
// } | ||
session_start(); | ||
// | ||
//$servername = "localhost"; | ||
//$username = "root"; | ||
//$password = ""; | ||
// | ||
// | ||
//// $servername = "sql202.epizy.com"; | ||
//// $username = "epiz_23626301"; | ||
//// $password = "wtn2rmj3"; | ||
//// Create connection | ||
//$con = new mysqli($servername, $username, $password,'lrr'); | ||
// | ||
//// Check connection | ||
//if ($con->connect_error) { | ||
// die("Database Connection failed: " . $conn->connect_error); | ||
//} | ||
//// else | ||
//// { | ||
// | ||
//// echo "Connected"; | ||
//// } | ||
//session_start(); | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,10 +27,11 @@ | |
<header> | ||
|
||
|
||
<link href="css/bootstrap.min.css" rel="stylesheet" type="text/css"/> | ||
<link href="http://118.25.96.118/nor/css/bootstrap.min.css" rel="stylesheet" type="text/css"/> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @dzr201732120115 Why add "http://118.25.96.118/nor/"? I think this would not make any difference. Hui |
||
|
||
<!--<link href="font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/> --> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.8.2/css/fontawesome.min.css" /> | ||
<!--<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.8.2/css/fontawesome.min.css" />--> | ||
<link rel="stylesheet" href="./webfonts/all.min.css" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @dzr201732120115 You created a new folder called Is Hui |
||
<script src="http://118.25.96.118/nor/css/jquery.min.js" type="text/javascript"></script> | ||
<script src="http://118.25.96.118/nor/css/bootsrap.min.js" type="text/javascript"></script> | ||
<link href="http://118.25.96.118/nor/css/bootstrap.min.css" rel="stylesheet" type="text/css"/> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,9 @@ while he was taking a graduate course called **Advanced Software Engineering** ( | |
|
||
The LRR's project home page is at http://118.25.96.118/nor/homepage/index.html. | ||
|
||
### If you want to get the local deployment version, clone the following | ||
|
||
`git clone https://github.com/dzr201732120115/LRR.git` | ||
|
||
# Mission | ||
|
||
|
@@ -129,6 +131,20 @@ Check FAQ.md (TBA) for details. | |
The original GitHub Repo is at https://github.com/EngMohamedNor/LabReportRepo | ||
|
||
|
||
### Steps of local test deployment | ||
1.download **xampp** <br> | ||
2.follow the website to do: | ||
> https://blog.csdn.net/qing666888/article/details/81914389 <br> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @dzr201732120115 Why do you append Hui |
||
|
||
**note:** don't change mysql's **port** and don't set its **password** <br> | ||
3.put LRR file in .\xampp\htdocs\LRR <br> | ||
4.run http://localhost:8081/ (if you change apache's port from 80 to 8081),login phpMyAdmin <br> | ||
5.create database lrr in phpMyAdmin and import lrr(1).sql (or lrr_database.sql). <br> | ||
6.ensure apache and xampp server is running on Xampp-control, | ||
run http://localhost:8081/LRR/script.php first,then run http://localhost:8081/LRR/index.php. <br> | ||
7.use account and password in phpMyAdmin's lrr.users_table to login. <br> | ||
8.begin your test | ||
|
||
# Contributor List | ||
|
||
|
||
|
@@ -164,3 +180,5 @@ GuedaliaBonheurSPM - Guedalia Youma - 201925800221 | |
ACorneille - Alimasi Corneille - 201925800168 | ||
|
||
Tabithakipanga - Kipanga Dorcas - 201925800170 | ||
|
||
Daizerong - 201732120115 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -396,7 +396,7 @@ | |
header("Location: Admin.php"); | ||
|
||
} else { | ||
echo "Error: " . $sql . "<br>" . $conn->error; | ||
echo "Error: " . $sql . "<br>" . $con->error; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @dzr201732120115 Why did you change Hui |
||
} | ||
} | ||
|
||
|
@@ -641,7 +641,7 @@ function Create_dir($upPath) | |
header("Location: Courses.php?course=".$url); | ||
|
||
} else { | ||
echo "Error: " . $sql . "<br>" . $conn->error; | ||
echo "Error: " . $sql . "<br>" . $con->error; | ||
} | ||
} | ||
|
||
|
This file was deleted.
Large diffs are not rendered by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dzr201732120115
Why comment out these?
If I merge these changes, then it would break the current build.
Hui