Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated to node 0.5.0. Untested.

  • Loading branch information...
commit 6e9c01c6d3e93a8cf71477914dd84a3a24d29a19 1 parent 4d5a295
@cvn authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 webfaction_node_js_install.py
View
8 webfaction_node_js_install.py
@@ -2,10 +2,10 @@
#!/bin/env python
"""
-Node v0.2.0
+Node v0.5.0
node.js install/uninstall script for WebFaction. Will install
-code from http://nodejs.org/dist/node-v0.2.0.tar.gz. This installs
+code from http://nodejs.org/dist/node-v0.5.0.tar.gz. This installs
node.js along with V8 engine.
To test if node is working log into your account and run the server.js script. Then create a website with with the app mounted at '/'. Then open
@@ -22,11 +22,11 @@
def create(app_name, server, session_id):
#define node version
- node_version = 'node-v0.2.0'
+ node_version = 'node-v0.5.0'
# initial config
home_dir = '%s/%s' % (account['home'], username)
- app_dir = '%s/webapps/%s' % (home_dir, app_name)
+ app_dir = '%s' % (home_dir)
bin_dir = '%s/bin' % app_dir
src_dir = '%s/src' % app_dir
Please sign in to comment.
Something went wrong with that request. Please try again.