Skip to content

Commit fd578e2

Browse files
committed
Updated readme
1 parent 7ab175b commit fd578e2

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

Diff for: README.md

+8
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,19 @@ A Real time lecture translation web app in different languages.Started during II
77
Just run the following command on your terminal or CLI.
88
``` git clone https://github.com/agbilotia1998/Lecture-Connect ```
99

10+
- Starting mongo server
11+
Install mongo db server on you machine by typing ``` sudo apt-get install mongodb-server ```.
12+
Type ``` mkdir /data/db``` from root.
13+
Type ``` mongod ``` to start mongo server on your machine.
14+
1015
- Starting server
1116
Enter into the clone directory using ``` cd Lecture-Connect ```.
1217
Type ``` npm start ``` to start the server on your localhost.
1318

1419
- Deploying the project on Heroku.
20+
Create a heroku account using heroku dashboard available on its website and create an app there.Under the deploy tab of your newly created app
21+
select connect to github and enter the name of your repository which you want to deploy.Wait for the app to be deployed.In case of errors use
22+
heroku logs.
1523

1624
## Exploring the Project
1725

Diff for: app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ app.use(express.static(path.join(__dirname, 'public')));
2222
app.use(cookieParser());
2323
app.use(bodyParser.urlencoded({extended: true}));
2424
app.use(bodyParser.json());
25-
app.use(session({secret:'I am lulululu', resave:true, saveUninitialized:true}));
25+
app.use(session({secret:'I am key', resave:true, saveUninitialized:true}));
2626

2727

2828
var env = process.env.NODE_ENV || 'development';

Diff for: routes/routes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module.exports = function(express, app, passport, config, rooms){
2222

2323
router.get('/auth/google', passport.authenticate('google',{scope : ['profile', 'email']}));
2424
router.get('/auth/google/callback', passport.authenticate('google', {
25-
successRedirect:'/user',
25+
successRedirect:'/user/',
2626
failureRedirect:'/'
2727
}))
2828

Diff for: views/user.ejs

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
<meta charset="utf-8">
55
<title><%- title %></title>
66

7-
<link rel="stylesheet" type="text/css" href="/public/css/style.css">
87

98
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
109
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>

0 commit comments

Comments
 (0)