1.0.17 • Published 7 years ago

meteorup v1.0.17

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

Meteorup is a meteor enhancement tools.

中文说明文档

Starting an application in production mode is as easy as:

$ meteorup deploy

Install Meteorup

$ npm install meteorup -g

npm is a builtin CLI when you install Node.js - Installing Node.js with NVM

Deployment this project to meteorup.cn microhost ( like Galaxy )

$ meteorup deploy AppName

Visit http://AppName.meteorup.cn after a successful deployment

Configuration runtime environments on private server

$ meteorup setup

install on your server NVM, nodejs, pm2, mongodb

Deployment a project to private server

$ meteorup push
or 
$ meteorup push -s // meteor build --server-only

Visit ROOT_URL after a successful deployment

Setup and Deploy to your private server for config file

write to package.json file.

    "server": {
        "host": "182.92.11.131",
        "username": "root",
        "//password": "password",
        "//":" or pem file (ssh based authentication)",
        "//": "WARNING: Keys protected by a passphrase are not supported",
        "pem": "~/.ssh/id_rsa",
        "//":" Also, for non-standard ssh port use this",
        "sshOptions": { "port" : 22 },
        "//":" server specific environment variables",
        "env": {}
    },
    "setup": {
		"//": "Install MongoDB on the server. Does not destroy the local MongoDB on future setups",
		"mongo": true,
		"//": "Application server path .  must in /usr /opt /home /alidata directory.",
		"path": "/usr/local/meteorup"
    },
    "deploy": {
		"//": "Application name (no spaces).",
		"appName": "best",
		"//": "Configure environment",
		"//": "ROOT_URL must be set to your correct domain (https or http)",
	    "env": {
			"YJENV": "test", // customize environment
            "MONGO_URL": "mongodb://127.0.0.1:27017/best",
			"PORT": 8181,
			"ROOT_URL": "http://182.92.11.131:8181"
		}
    },
    "notice": "Well done"

Print logs on server

$ meteorup logs
or
$ meteorup logs -l 100

Connection to a remote mongo database

$ meteorup mongo

Custom completion notice voice

config in package.json file. default would say “finished”

$ "notice": "Well done"

Update Meteorup

# reinstall latest meteorup version
$ npm install meteorup -g

#FAQ

sudo: sorry, you must have a tty to run sudo

sudo vi /etc/sudoers
#Default requiretty

either comment it out the line or delete the line

License

Meteorup is made available under the terms of the MIT License (MIT)

2.0.0-alpha2

7 years ago

2.0.0-alpha1

7 years ago

2.0.0-alpha

7 years ago

2.0.0

7 years ago

1.0.17

8 years ago

1.0.16

8 years ago

1.0.15

8 years ago

1.0.14

8 years ago

1.0.13

8 years ago

1.0.12

8 years ago

1.0.11

8 years ago

1.0.10

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago