Skip to content

Instantly share code, notes, and snippets.

Intergalactic:airbrake-app andy$ foreman start -f Procfile.dev
22:03:46 resque.1 | started with pid 2381
22:03:46 logs.1 | started with pid 2382
22:03:46 api.1 | started with pid 2383
22:03:46 worker.1 | started with pid 2384
22:03:46 memcache.1 | started with pid 2379
22:03:46 scheduler.1 | started with pid 2385
22:03:46 redis.1 | started with pid 2380
22:03:46 logs.1 | Plan Load (0.5ms) SELECT `plans`.* FROM `plans` WHERE `plans`.`id` = 62 LIMIT 1
22:03:46 logs.1 | Integration Load (0.5ms) SELECT `integrations`.* FROM `integrations` INNER JOIN `services` ON `services`.`id` = `integrations`.`service_id` WHERE `integrations`.`project_id` = 1055 AND `integrations`.`active` = 1 AND (services.name = 'github') LIMIT 1
Intergalactic:goab andy$ cd app/
Intergalactic:app andy$ go run api.go -v=2 -logtostderr
stat api.go: no such file or directory
Intergalactic:app andy$ cd ..
Intergalactic:goab andy$ go run cmd/api/main.go -v=2 -logtostderr
panic: open templates/notice.xml: no such file or directory
goroutine 1 [running]:
html/template.Must(0x0, 0xc2000e2cf0, 0xc2000e2cc0, 0x1)
/usr/local/Cellar/go/1.1.1/src/pkg/html/template/template.go:284 +0x4d
Intergalactic:airbrake-app andy$ foreman start -f Procfile.dev
23:48:41 api.1 | started with pid 16907
23:48:41 worker.1 | started with pid 16908
23:48:41 memcache.1 | started with pid 16903
23:48:41 scheduler.1 | started with pid 16909
23:48:41 redis.1 | started with pid 16904
23:48:41 resque.1 | started with pid 16905
23:48:41 logs.1 | started with pid 16906
23:48:41 redis.1 | [16904] 13 Aug 23:48:41.526 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
23:48:41 redis.1 | [16904] 13 Aug 23:48:41.527 * Max number of open files set to 10032
Intergalactic:goab andy$ go run cmd/api/main.go -v=2 -logtostderr
I0813 23:45:05.299837 16837 context.go:409] api] listening on :8080 using dev environment
E0813 23:55:44.517272 16837 context.go:417] 596258034802778311] QueryOne failed: dial tcp 127.0.0.1:5432: connection refused
I0813 23:55:44.517720 16837 context.go:409] 596258034802778311] GET /api/v3/projects/1055?key=cf0a432a45d76ff832516ffa29ea4c3590222ec5 401 0
E0813 23:55:44.561319 16837 context.go:417] 6849690365749023525] QueryOne failed: dial tcp 127.0.0.1:5432: connection refused
I0813 23:55:44.561382 16837 context.go:409] 6849690365749023525] GET /api/v3/projects/1055/groups?key=cf0a432a45d76ff832516ffa29ea4c3590222ec5 401 0
E0813 23:56:05.494428 16837 context.go:417] 7765441818325610007] QueryOne failed: dial tcp 127.0.0.1:5432: connection refused
I0813 23:56:05.494507 16837 context.go:409] 7765441818325610007] GET /api/v3/projects/69818?key=cf0a432a45d76ff832516ffa29ea4c3590222ec5 401 0
E0813 23:56:05.496579 16837 context.go:417] 51378498569628
Intergalactic:foundersnetwork andy$ ./run local
01:41:51 web.1 | started with pid 13599
01:41:51 web.1 | ImportError: cannot import name openProc
01:41:51 web.1 | FNSITE_ENV SET --> development
01:41:51 web.1 | DEVELOPMENT MODE
01:41:52 web.1 | 2013-08-16 01:41:52 [13603] [INFO] Starting gunicorn 0.17.2
01:41:52 web.1 | 2013-08-16 01:41:52 [13603] [INFO] Listening at: http://0.0.0.0:5000 (13603)
01:41:52 web.1 | 2013-08-16 01:41:52 [13603] [INFO] Using worker: sync
01:41:52 web.1 | 2013-08-16 01:41:52 [13606] [INFO] Booting worker with pid: 13606
01:41:54 web.1 | /usr/local/lib/python2.7/site-packages/django/conf/urls/defaults.py:3: DeprecationWarning: django.conf.urls.defaults is deprecated; use django.conf.urls instead
Intergalactic:goab andy$ go run cmd/api/main.go -v=2 -logtostderr
I0819 23:25:41.548983 12041 context.go:409] api] listening on :8080 using dev environment
E0819 23:25:51.113621 12041 context.go:417] 2357021504718454519] CacheCodec.Set "project-1055" failed: dial tcp: missing address
E0819 23:25:51.113680 12041 context.go:417] 2357021504718454519] CacheCodec.Set "project-api-key-de61dc4bc5f8830b55d32d2cb7b97161" failed: dial tcp: missing address
E0819 23:25:51.113825 12041 context.go:417] 1371870430460615083] CacheCodec.Set "project-1055" failed: dial tcp: missing address
E0819 23:25:51.113863 12041 context.go:417] 1371870430460615083] CacheCodec.Set "project-api-key-de61dc4bc5f8830b55d32d2cb7b97161" failed: dial tcp: missing address
I0819 23:25:51.114001 12041 context.go:409] 1371870430460615083] GET /api/v3/projects/1055?key=cf0a432a45d76ff832516ffa29ea4c3590222ec5 200 0
I0819 23:25:51.241812 12041 context.go:409] 2357021504718454519] GET /api/v3/projects/1055/groups?key=cf0a432a45d76ff832516ffa29ea4c359022
[Filter#init] @attributes
Object
filter.js?body=1:19
[reqres groups] filter:
Filter
group.js?body=1:135
[Groups#init] filter:
Filter
group.js?body=1:65
[reqres groups] filter:
Intergalactic:goab andy$ go get -u -v github.com/vmihailenco/pg
github.com/vmihailenco/pg (download)
github.com/golang/glog (download)
github.com/vmihailenco/bufio (download)
github.com/golang/glog
github.com/vmihailenco/pg
Intergalactic:goab andy$ go run cmd/api/main.go -v=2 -logtostderr
I0819 23:57:58.681632 13498 context.go:409] api] listening on :8080 using dev environment
E0819 23:58:11.561129 13498 context.go:417] 8862931531432333983] QueryOne failed: FATAL #3D000 database "goab_development5" does not exist:
I0819 23:58:11.561229 13498 context.go:409] 8862931531432333983] GET /api/v3/projects/1055/groups?key=cf0a432a45d76ff832516ffa29ea4c3590222ec5 401 0
Intergalactic:web andy$ rails s -e staging -p 5000
=> Booting WEBrick
=> Rails 3.2.13 application starting in staging on http://0.0.0.0:5000
=> Call with -d to detach
=> Ctrl-C to shutdown server
[2013-08-20 21:29:56] INFO WEBrick 1.3.1
[2013-08-20 21:29:56] INFO ruby 1.9.3 (2012-12-25) [x86_64-darwin12.2.0]
[2013-08-20 21:29:56] INFO WEBrick::HTTPServer#start: pid=27632 port=5000
Started GET "/" for 127.0.0.1 at 2013-08-20 21:29:58 +0300
Processing by WelcomeController#index as HTML
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
.....