This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Main controller | |
angular.module("Museum.controllers").controller('routingController', [ | |
'$q' | |
'$scope' | |
'$route' | |
'$routeParams' | |
'$rootScope' | |
'backendWrapper' | |
( $q, $scope, $route, $routeParams, $rootScope, backendWrapper ) -> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
upstream izi-cms3 { | |
server unix:/home/deployer/apps/izi-cms3/shared/sockets/unicorn.sock fail_timeout=0; | |
} | |
server { | |
listen 80 default_server deferred; | |
server_name localhost; | |
root /home/deployer/apps/izi-cms3/current/public; | |
access_log /home/deployer/apps/izi-cms3/shared/logs combined; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = (app) -> | |
# root namespace | |
app.namespace "/legacy/content_providers", -> | |
# content provider routes | |
app.get "/", contentProvider.list | |
app.get "/:id", contentProvider.show | |
app.post "/", contentProvider.create | |
app.put "/:id", contentProvider.update | |
app.delete "/:id", contentProvider.delete | |
app.get "/:id/objects", contentProvider.objects |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# server | |
# git repo itself | |
mkdir -p /var/git/yourapp.git | |
# where project will be | |
mkdir -p /var/www/yourapp | |
# make git server | |
cd /var/git/yourapp.git | |
git init --bare . |
OlderNewer