nodejitsu

should I use elasticsearch from service prodiver or heroku addon or from my own elasticsearch set up? [closed]

做~自己de王妃 提交于 2020-01-06 02:23:29
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . I have a nodejs app running on nodejitsu server. Lately I want to build search functionality for my app. The elasticsearch technology

JITSU FAILED TO INSTALL OSX [node 0.8.17 and NPM 1.2.0] WTF

你说的曾经没有我的故事 提交于 2020-01-04 05:27:09
问题 im having problems installing jitsu through NPM i have node 0.8.17 and NPM 1.2.0 installed on my mac osx 10.6.8 when i run $ sudo npm install jitsu -g First it warns about no readme file found npm WARN package.json ladder@0.0.0 No README.md file found! then the errors appear: npm ERR! Error: ENOENT, lstat '/usr/local/lib/node_modules/jitsu/node_modules/request/tests/test-toJSON.js' npm ERR! If you need help, you may report this log at: npm ERR! http://github.com/isaacs/npm/issues npm ERR! or

Nodejs and socket.io for push notifications

ⅰ亾dé卋堺 提交于 2020-01-04 01:57:54
问题 I'm currently looking to offer push notifications to an iphone and android app I'm working on. I took a look at the push notification services and they are very expensive so, I'm looking to run my own using socket.io. I guess my question is, how demanding on the server are push notifications? Do I need a ton of bandwidth or some specific server setup? I haven't used push notifications before to estimate the amount I would need sadly. Currently I'm using Nodejitsu for my nodejs app and plan to

Nodejitsu + HTTPS

此生再无相见时 提交于 2019-12-11 04:36:42
问题 When I go to https://myapp.nodejitsu.com I magically have ssl enabled. But my app's websocket transport seems to be broken now. What do I need to do to enable websockets over this https, what else could be broken? What are they doing to enable SSL? 回答1: Nodejitsu uses node-http-proxy to proxy https to http, to your app. The proxy supports websockets in both http and https modes. So, as long as your app can talk websockets over http, it should be fine. I'd recommend shooting us an email at

Node.js Hosting w/Multiple Ports, or wrong practice?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-11 01:11:10
问题 I'm trying to figure out the best workflow for producing an app I can have hosted on one of the various public Node environments. The sticking point seems to be that my app opens two ports: one for HTTP and another for WebSockets. Here's the code which executes great on my own system, but runs into EADDRINUSE errors on hosted services. (NOTE: this is regardless of changes in port number) CODE: http://pastebin.com/zjJKbj2U QUESTION: Am I wrong in my approach of searching for a Node service

Keeping API keys and access details for the database secure

自古美人都是妖i 提交于 2019-12-05 03:43:11
问题 What is best practice for keeping API keys and access details for the database secure? We will be deploying with Nodejitsus jitsu deploy so my thought is to have a config file that will not be part of git. Our current config file which I will have .gitignore'd module.exports = (app) -> app.configure 'development', -> global.config = dbUrl: 'mongodb://username:password@host:port/closet' foursquare: client_id: 'xxx' client_secret: 'xxx' redirect_uri: 'http://127.0.0.1:3000/account/auth

Keeping API keys and access details for the database secure

谁说胖子不能爱 提交于 2019-12-03 21:19:58
What is best practice for keeping API keys and access details for the database secure? We will be deploying with Nodejitsus jitsu deploy so my thought is to have a config file that will not be part of git. Our current config file which I will have .gitignore'd module.exports = (app) -> app.configure 'development', -> global.config = dbUrl: 'mongodb://username:password@host:port/closet' foursquare: client_id: 'xxx' client_secret: 'xxx' redirect_uri: 'http://127.0.0.1:3000/account/auth/foursquare/done' return app.configure 'production', -> global.config = dbUrl: 'mongodb://username:password@host

npm peerDependency issue with grunt and flatiron peer

孤者浪人 提交于 2019-12-03 03:41:39
问题 While posting this question I figured out the answer, but I'll post both here in case it helps someone else, and perhaps someone can help with the why of what happened. When I run: sudo npm install -g grunt the last part of it says: /usr/bin/grunt -> /usr/lib/node_modules/grunt/bin/grunt npm ERR! peerinvalid The package flatiron does not satisfy its siblings' peerDependencies requirements! npm ERR! peerinvalid Peer flatiron-cli-config@0.1.3 wants flatiron@~0.1.9 npm ERR! peerinvalid Peer

npm peerDependency issue with grunt and flatiron peer

别来无恙 提交于 2019-12-02 17:07:51
While posting this question I figured out the answer, but I'll post both here in case it helps someone else, and perhaps someone can help with the why of what happened. When I run: sudo npm install -g grunt the last part of it says: /usr/bin/grunt -> /usr/lib/node_modules/grunt/bin/grunt npm ERR! peerinvalid The package flatiron does not satisfy its siblings' peerDependencies requirements! npm ERR! peerinvalid Peer flatiron-cli-config@0.1.3 wants flatiron@~0.1.9 npm ERR! peerinvalid Peer flatiron-cli-users@0.1.1 wants flatiron@~0.1.9 npm ERR! System Linux 3.5.0-23-generic npm ERR! command

How to use a private npm registry on Elastic Beanstalk?

南笙酒味 提交于 2019-11-27 17:29:09
问题 We have a nodejs project running on Amazon Elastic Beanstalk that uses private modules that we host using nodejitsu's private npm registry. However getting access to the private npm registry from the elastic instances hasn't been straightforward and is not documented well. What is the best way to get this access set up? 回答1: None of the other answers were working for me. After hours of hair pulling, we finally figured it out. The solution that worked is almost the same as the other answers