0.5.0 • Published 7 years ago

meteorfaction v0.5.0

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

meteorfaction

Command-line tool for deploying Meteor APPs to Webfaction

Basic Configuration

If you haven't, create a new Node 0.10.48 App using WebFaction Panel and take note of the App's PORT Number

In the command line, run npm install -g meteorfaction or sudo npm install -g meteorfaction if you need root access

Then, in your Meteor App root directory, create a wf_deploy.json file with the following structure and fill the gaps:

{
	"local_app_name": "",
	"wf_app_name": "",
	"wf_server": "",
	"wf_username": "",
	"mongo_url": "",
	"wf_port": "",
	"wf_root_url": ""
}

Some explanations about the parameters above:

local_app_name The name of your app folder in your local machine

wf_app_name The name of the Node application in your WebFaction panel

wf_server The address of your WebFaction server. Example: web123.webfaction.com

wf_username Your WebFaction main username.

mongo_url Example: mongodb://user:password@ds123456.mlab.com:11122/something

wf_port The PORT of your WebFaction APP. Example: 16788

wf_root_url The URL of your application's site. Example: http://www.something.com

Deploying

After you completed the steps above, run meteorfaction inside your App's Root Folder and wait for the deploy to complete. That's it!

Gitignore

Don't forget to add wf_deploy.json to your .gitignore file. It stores sensible data about your app.

Observations

  • Only working for Node versions that support ES6 (I wrote some parts of the code using ES6 and didn't have the chance to review it).
0.5.0

7 years ago

0.4.5

7 years ago

0.4.4

7 years ago

0.4.3

7 years ago

0.4.2

7 years ago

0.4.1

7 years ago

0.4.0

8 years ago

0.1.0

8 years ago

1.0.0

8 years ago