D
D
Dmitry R2015-12-04 16:07:33
Apache HTTP Server
Dmitry R, 2015-12-04 16:07:33

How to install Meteor APP on LAMP server?

There is a server with RedhatOS, Apache + MySQL + PHP
It already has 10+ working projects.
You need to put an application on Meteor on it. Is it possible and how to do it?
Installed NodeJS, MongoDB. Further, I did not find an adequate guide ...
Installed Meteor. But the command does not execute: meteor: command not found
I know about MUP and other helpers. I want to do it manually and on a specific port. Maybe someone will tell?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel, 2015-12-04
@dmitrika

if handles, a piece straight from the documentation:
Running on your own infrastructure
You can also run your application on your own infrastructure or any hosting provider that can run Node.js apps.
To get started, run
meteor build my_directory
This command will generate a fully-contained Node.js application in the form of a tarball. To run this application, you need to provide Node.js 0.10 and a MongoDB server. (The current release of Meteor has been tested with Node 0.10.40.) You can then run the application by invoking node, specifying the HTTP port for the application to listen on, and the MongoDB endpoint.
cd my_directory
(cd programs/server && npm install)
env PORT=3000 MONGO_URL=mongodb://localhost:27017/myapp node main.js
Some packages might require other environment variables. For example, the email package requires a MAIL_URL environment variable
docs.meteor.com/#/full/deploying

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question