Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy a Meteor App #1

Open
jankapunkt opened this issue Feb 15, 2019 · 7 comments
Open

Deploy a Meteor App #1

jankapunkt opened this issue Feb 15, 2019 · 7 comments
Assignees
Projects

Comments

@jankapunkt jankapunkt added this to To do in 1.0 via automation Feb 15, 2019
@jankapunkt
Copy link
Member Author

install Meteor

curl https://install.meteor.com/ | sh

create app:

meteor create SomeExampleApp
cd SomeExaompleApp && meteor npm install

build app

https://docs.meteor.com/commandline.html#meteorbuild

@aakalaew
Copy link
Collaborator

aakalaew commented Apr 7, 2019

First of all you install Passanger

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 561F9B9CAC40B2F7
sudo apt-get install -y apt-transport-https ca-certificates


sudo sh -c 'echo deb https://oss-binaries.phusionpassenger.com/apt/passenger bionic main > /etc/apt/sources.list.d/passenger.list'
sudo apt-get update


sudo apt-get install -y passenger

@aakalaew
Copy link
Collaborator

aakalaew commented Apr 7, 2019

To validate your installation run following code passenger-config validate-install

@aakalaew
Copy link
Collaborator

aakalaew commented Apr 7, 2019

To start your meteor application go to your project folder and instead of running meteor run you run passenger start

@aakalaew
Copy link
Collaborator

aakalaew commented Apr 7, 2019

If everything is set correctly you should see this part after running passenger start

PID file: /Users/phusion/leaderboard/passenger.3000.pid
Log file: /Users/phusion/leaderboard/passenger.3000.log
Environment: development
Accessible via: http://0.0.0.0:3000/    

You can stop Phusion Passenger Standalone by pressing Ctrl-C.
===============================================================
App 85125 stdout: [[[[[ ~/leaderboard ]]]]]   
App 85125 stdout:
App 85125 stdout: => Started proxy.
App 85125 stdout: => Started MongoDB.
App 85125 stdout: => Started your app.
App 85125 stdout:
App 85125 stdout: => App running at: http://localhost:9822/  

@aakalaew aakalaew closed this as completed Apr 7, 2019
1.0 automation moved this from To do to Done Apr 7, 2019
@jankapunkt jankapunkt reopened this Jul 11, 2019
1.0 automation moved this from Done to In progress Jul 11, 2019
@jankapunkt
Copy link
Member Author

jankapunkt commented Jul 11, 2019

Steps

  1. install meteor app bundle (tar.gz) via install script

  2. a) if passenger is not running this app then start this app with paseenger
    b) if passenger is running this app restart passenger with zero timeout
    3.... profit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
1.0
  
In progress
Development

No branches or pull requests

2 participants