Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update: make app.js executable

  • Loading branch information...
commit c104f567ae946921bd4c4f0073c35d92b112fef2 1 parent 68a91bf
Fatih Cetinkaya authored
Showing with 8 additions and 5 deletions.
  1. +6 −5 README.md
  2. +2 −0  scripts/app.js
  3. 0  scripts/app.sh
11 README.md
View
@@ -33,11 +33,12 @@ npm start
#### Permissions
```
-sudo find . -type f -exec chmod 644 {} +
-sudo find . -type d -exec chmod 755 {} +
-sudo chmod 775 logs/
-sudo chmod 664 logs/app.log
-sudo chmod 755 scripts/app.sh
+find . -type f -exec chmod 644 {} +
+find . -type d -exec chmod 755 {} +
+chmod 775 logs/
+chmod 664 logs/app.log
+chmod 755 scripts/app.sh
+chmod 755 scripts/app.js
```
#### File Structure
2  scripts/app.js 100644 → 100755
View
@@ -1,3 +1,5 @@
+#!/usr/bin/env node
+
// Init reqs
var mFS = require('fs'), // fs module
mHapi = require('hapi'), // hapi module
0  scripts/app.sh 100644 → 100755
View
File mode changed
Please sign in to comment.
Something went wrong with that request. Please try again.