Merge branch 'master' of github.com:sahat/hackathon-starter
This commit is contained in:
12
README.md
12
README.md
@ -22,15 +22,19 @@ if for example you are only interested in **Sign in with Google** authentication
|
|||||||
Chances are you do not need all authentication methods or API examples. As of **Hackathon Starter 2.1**
|
Chances are you do not need all authentication methods or API examples. As of **Hackathon Starter 2.1**
|
||||||
it is possible to selectively check which authentication methods you need by running `node setup.js`.
|
it is possible to selectively check which authentication methods you need by running `node setup.js`.
|
||||||
|
|
||||||
<h4 align="center">Flatly Bootstrap Theme</h3>
|
<h4 align="center">Modern Theme</h4>
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
<h4 align="center">Flatly Bootstrap Theme</h4>
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
<h4 align="center">Default Theme</h3>
|
<h4 align="center">Default Theme</h4>
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
<h4 align="center">Hackathon Starter Generator</h3>
|
<h4 align="center">Hackathon Starter Generator</h4>
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
@ -1167,7 +1171,7 @@ Add this to `package.json`, after *name* and *version*. This is necessary becaus
|
|||||||
|
|
||||||
<img src="http://www.comparethecloud.net/wp-content/uploads/2014/06/ibm-bluemix_pr-030514.jpg" width="200">
|
<img src="http://www.comparethecloud.net/wp-content/uploads/2014/06/ibm-bluemix_pr-030514.jpg" width="200">
|
||||||
|
|
||||||
- Go to [Codename: Bluemix](http://bluemix.net) to signup for the free beta, or login with your *IBM id*
|
- Go to [Codename: Bluemix](http://bluemix.net) to signup for the free trial, or login with your *IBM id*
|
||||||
- Install [Cloud Foundry CLI](https://github.com/cloudfoundry/cli)
|
- Install [Cloud Foundry CLI](https://github.com/cloudfoundry/cli)
|
||||||
- Navigate to your **hackathon-starter** directory and then run `cf push [your-app-name] -m 512m` command to deploy the application
|
- Navigate to your **hackathon-starter** directory and then run `cf push [your-app-name] -m 512m` command to deploy the application
|
||||||
- **Note:** You must specify a unique application name in place of `[your-app-name]`
|
- **Note:** You must specify a unique application name in place of `[your-app-name]`
|
||||||
|
2
app.js
2
app.js
@ -81,6 +81,8 @@ app.use(expressValidator());
|
|||||||
app.use(methodOverride());
|
app.use(methodOverride());
|
||||||
app.use(cookieParser());
|
app.use(cookieParser());
|
||||||
app.use(session({
|
app.use(session({
|
||||||
|
resave: true,
|
||||||
|
saveUninitialized: true,
|
||||||
secret: secrets.sessionSecret,
|
secret: secrets.sessionSecret,
|
||||||
store: new MongoStore({
|
store: new MongoStore({
|
||||||
url: secrets.db,
|
url: secrets.db,
|
||||||
|
22
package.json
22
package.json
@ -16,24 +16,24 @@
|
|||||||
"cheerio": "^0.17.0",
|
"cheerio": "^0.17.0",
|
||||||
"clockwork": "^0.1.1",
|
"clockwork": "^0.1.1",
|
||||||
"compression": "^1.0.8",
|
"compression": "^1.0.8",
|
||||||
"connect-assets": "^3.0.1",
|
"connect-assets": "^3.0.2",
|
||||||
"connect-mongo": "^0.4.1",
|
"connect-mongo": "^0.4.1",
|
||||||
"cookie-parser": "^1.3.1",
|
"cookie-parser": "^1.3.2",
|
||||||
"csso": "^1.3.11",
|
"csso": "^1.3.11",
|
||||||
"errorhandler": "^1.1.1",
|
"errorhandler": "^1.1.1",
|
||||||
"express": "^4.4.4",
|
"express": "^4.5.1",
|
||||||
"express-flash": "^0.0.2",
|
"express-flash": "^0.0.2",
|
||||||
"express-session": "^1.5.1",
|
"express-session": "^1.6.1",
|
||||||
"express-validator": "^2.3.0",
|
"express-validator": "^2.3.0",
|
||||||
"fbgraph": "^0.2.10",
|
"fbgraph": "^0.2.10",
|
||||||
"github-api": "^0.7.0",
|
"github-api": "^0.7.0",
|
||||||
"instagram-node": "^0.4.0",
|
"instagram-node": "^0.4.0",
|
||||||
"jade": "^1.3.1",
|
"jade": "^1.3.1",
|
||||||
"lastfm": "^0.9.0",
|
"lastfm": "^0.9.2",
|
||||||
"less": "^1.7.2",
|
"less": "^1.7.3",
|
||||||
"lodash": "^2.4.1",
|
"lodash": "^2.4.1",
|
||||||
"lusca": "^1.0.0",
|
"lusca": "^1.0.0",
|
||||||
"method-override": "^2.0.2",
|
"method-override": "^2.1.0",
|
||||||
"mongoose": "^3.8.12",
|
"mongoose": "^3.8.12",
|
||||||
"morgan": "^1.1.1",
|
"morgan": "^1.1.1",
|
||||||
"node-foursquare": "^0.2.1",
|
"node-foursquare": "^0.2.1",
|
||||||
@ -48,14 +48,14 @@
|
|||||||
"passport-local": "^1.0.0",
|
"passport-local": "^1.0.0",
|
||||||
"passport-oauth": "^1.0.0",
|
"passport-oauth": "^1.0.0",
|
||||||
"passport-twitter": "^1.0.2",
|
"passport-twitter": "^1.0.2",
|
||||||
"request": "^2.36.0",
|
"request": "^2.37.0",
|
||||||
"stripe": "^2.6.3",
|
"stripe": "^2.7.3",
|
||||||
"tumblr.js": "^0.0.4",
|
"tumblr.js": "^0.0.4",
|
||||||
"twilio": "^1.6.0",
|
"twilio": "^1.6.0",
|
||||||
"twit": "^1.1.15",
|
"twit": "^1.1.15",
|
||||||
"uglify-js": "^2.4.14",
|
"uglify-js": "^2.4.14",
|
||||||
"validator": "^3.13.0",
|
"validator": "^3.16.1",
|
||||||
"yui": "^3.17.1"
|
"yui": "^3.17.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"blessed": "^0.0.37",
|
"blessed": "^0.0.37",
|
||||||
|
Reference in New Issue
Block a user