Skip to content

Commit

Permalink
blog post fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
focusaurus committed Feb 20, 2014
1 parent 1e5ba2e commit 65ff5d6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/browser/CreatePost.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function CreatePost($scope, $window, $http, $sce, localStorage) {
} catch (_error) {
console.log(localStorage);
}
this.$scope.save = this.save;
this.$scope.save = this.save.bind(this);
this.$scope.$watch("contentMarkdown",
_.throttle(this.changeContentMarkdown.bind(this), 250));
}
Expand Down
5 changes: 4 additions & 1 deletion bin/activate_deployment
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,8 @@ set_baseline_permissions "${1-plws}" .
chmod ug+x ./node/bin/* ./node_modules/.bin/* ./app/server.js
chmod a+r ./node_modules/zeroclipboard/*
set_baseline_permissions "${1-plws}" ../data
find "../data/posts" -type d -print0 | xargs -0 chmod ug+w
#allow the app to write new blog posts in this directory
find "../data/posts" -type d -print0 | xargs -0 chmod u+w
#allow sudo group git pull write access
chmod -R g+w "../data"
repoint_current_symlink

0 comments on commit 65ff5d6

Please sign in to comment.