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
| <% | |
| director_uuid = '4e6c3124-f826-43d0-abc8-aaad278be7b4' | |
| static_ip = 'xxxxxxxxxxxxxxxxxxxxxxx' | |
| root_domain = "xxxxxxxxxxx" | |
| deployment_name = 'cf' | |
| cf_release = '170' | |
| protocol = 'http' | |
| common_password = 'c1oudc0wc1oudc0w' | |
| %> | |
| --- |
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
| director_uuid: <my director uuid> | |
| releases: | |
| - name: cf-services-contrib | |
| version: 4 | |
| compilation: | |
| workers: 10 | |
| network: default | |
| reuse_compilation_vms: true |
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
| <% | |
| director_uuid = <my director uuid> | |
| static_ip = <my floating ip> | |
| root_domain = <my domain> | |
| deployment_name = 'cf' | |
| cf_release = '171' | |
| protocol = 'http' | |
| common_password = <redacted> | |
| %> | |
| --- |
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
| --- | |
| name: cf-services-contrib | |
| director_uuid: 0ddre47e-5gfb-4095-859e-5a08f9eacf02 # CHANGE | |
| releases: | |
| - name: cf-services-contrib | |
| version: 1 | |
| compilation: | |
| workers: 3 |
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
| package main | |
| import ( | |
| "log" | |
| "fmt" | |
| "github.com/couchbaselabs/go-couchbase" | |
| ) | |
| var ( | |
| bucket *couchbase.Bucket |
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
| package revel | |
| import ( | |
| "fmt" | |
| "reflect" | |
| "regexp" | |
| "time" | |
| ) | |
| type Validator interface { |
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
| package revel | |
| import ( | |
| "fmt" | |
| "net/http" | |
| "net/url" | |
| "regexp" | |
| "runtime" | |
| ) |
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
| vagrant up | |
| /opt/vagrant/embedded/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- vagrant/util/downloader (LoadError) | |
| from /opt/vagrant/embedded/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require' | |
| from /home/ubuntu/.vagrant.d/gems/gems/vagrant-omnibus-1.3.1/lib/vagrant-omnibus/action/install_chef.rb:20:in `<top (required)>' | |
| from /home/ubuntu/.vagrant.d/gems/gems/vagrant-omnibus-1.3.1/lib/vagrant-omnibus/plugin.rb:35:in `require_relative' | |
| from /home/ubuntu/.vagrant.d/gems/gems/vagrant-omnibus-1.3.1/lib/vagrant-omnibus/plugin.rb:35:in `block in <class:Plugin>' | |
| from /opt/vagrant/embedded/gems/gems/vagrant-1.1.5/lib/vagrant/action/runner.rb:37:in `call' | |
| from /opt/vagrant/embedded/gems/gems/vagrant-1.1.5/lib/vagrant/action/runner.rb:37:in `block (2 levels) in run' | |
| from /opt/vagrant/embedded/gems/gems/vagrant-1.1.5/lib/vagrant/action/runner.rb:36:in `tap' | |
| from /opt/vagrant/embedded/gems/gems/vagrant-1.1.5/lib/vagrant/action/runner.rb:36:in `block in run' |
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
| package controllers | |
| import ( | |
| "github.com/revel/revel" | |
| "ToGo/app/models" | |
| "ToGo/app/routes" | |
| "github.com/jinzhu/gorm" | |
| type Task struct { | |
| ModelController |
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
| package main | |
| import ( | |
| "fmt" | |
| "github.com/codegangsta/martini" // loading in the Martini package | |
| "github.com/martini-contrib/render" | |
| "labix.org/v2/mgo" // loading in the mgo MongoBD driver package | |
| "labix.org/v2/mgo/bson" // loading in the bson package | |
| "net/http" | |
| ) |