Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -app
- -bin
- -client
- -app
- -node_modules
- Gruntfile.js
- package.json
- -config
- -db
- -lib
- -log
- -public
- gemfile
- package.json
- Procfile
- web.js
- web: node web.js
- worker: bundle exec puma -C config/puma.rb
- 'use strict';
- var gzippo = require('gzippo');
- var express = require('express');
- var nodeApp = express();
- nodeApp.use(express.logger('dev'));
- nodeApp.use(gzippo.staticGzip('' + __dirname + '/client/app'));
- nodeApp.listen(process.env.PORT || 5000);
- threads_count = Integer(ENV['RAILS_MAX_THREADS'] || 5)
- threads threads_count, threads_count
- preload_app!
- rackup DefaultRackup
- port ENV['PORT'] || 3000
- environment ENV['RACK_ENV'] || 'development'
- on_worker_boot do
- # Worker specific setup for Rails 4.1+
- # See: https://devcenter.heroku.com/articles/deploying-rails-applications-with-the-puma-web-server#on-worker-boot
- ActiveRecord::Base.establish_connection
- end
- > heroku logs --tail
- 2017-09-24T22:37:37.260979+00:00 heroku[web.1]: Starting process with command `node web.js`
- 2017-09-24T22:37:41.010376+00:00 heroku[web.1]: State changed from starting to up
- 2017-09-24T22:41:54.611070+00:00 heroku[worker.1]: Starting process with command `bundle exec puma -C config/puma.rb`
- 2017-09-24T22:41:55.153420+00:00 heroku[worker.1]: State changed from starting to up
- 2017-09-24T22:41:56.663538+00:00 app[worker.1]: Puma starting in single mode...
- 2017-09-24T22:41:56.663556+00:00 app[worker.1]: * Version 3.10.0 (ruby 2.2.4-p230), codename: Russell's Teapot
- 2017-09-24T22:41:56.663557+00:00 app[worker.1]: * Min threads: 5, max threads: 5
- 2017-09-24T22:41:56.663558+00:00 app[worker.1]: * Environment: production
- 2017-09-24T22:41:58.244135+00:00 app[worker.1]: * Listening on tcp://0.0.0.0:14499
- 2017-09-24T22:41:58.244360+00:00 app[worker.1]: Use Ctrl-C to stop
- 2017-09-24T22:47:25.175045+00:00 heroku[router]: at=info method=POST path="/api/authenticate" host=infinite-ocean-77136.herokuapp.com request_id=6785cce6-4a48-4d34-
- af73-3178320a5d32 fwd="191.85.143.39" dyno=web.1 connect=0ms service=2ms status=404 bytes=228 protocol=https
- 2017-09-24T22:47:25.174902+00:00 app[web.1]: POST /api/authenticate 404 0.326 ms - 30
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement