Skip to content

Commit b78340f

Browse files
committed
Instructions to usage and adjustments to the footer and header
1 parent d8b00ea commit b78340f

File tree

5 files changed

+11
-4
lines changed

5 files changed

+11
-4
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
node_modules
1+
node_modules

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,8 @@
22

33
## Using Passport, and Passport-local, with MySQL Database
44

5-
### The database SQL file can be found in "database" folder
5+
### The database SQL file can be found in "database" folder
6+
7+
## USAGE
8+
#### Simply install node packages using "npm i"
9+
#### start server "npm start"

app.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ app.use((req, res, next)=>{
4444
next()
4545
})
4646

47+
// INITIALIZE PUBLIC FOLDER
4748
app.use(express.static('public'))
4849

4950

views/partials/footer.ejs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<script src="bootstrap/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
1+
<!-- <script src="bootstrap/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script> -->
2+
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
23

34
</body>
45
</html>

views/partials/header.ejs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
<link rel="preconnect" href="https://fonts.gstatic.com">
1010
<link href="https://fonts.googleapis.com/css2?family=Recursive:wght@500&display=swap" rel="stylesheet">
1111
<!-- Bootstrap CDN -->
12-
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" crossorigin="anonymous">
12+
<!-- <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" crossorigin="anonymous"> -->
13+
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
1314
<title><%= title %> </title>
1415
<style>
1516

0 commit comments

Comments
 (0)