Changes between Version 13 and Version 14 of DesignAndImplementation/ServerSetup


Ignore:
Timestamp:
09/07/11 17:41:28 (6 years ago)
Author:
ddickison
Comment:

gotta npm update

Legend:

Unmodified
Added
Removed
Modified
  • DesignAndImplementation/ServerSetup

    v13 v14  
    1111 
    1212Most dependencies can be installed automatically with npm. However, there are a few libraries that had to be patched or where we need a more recent version than what is published on npm. These are listed below. If an updated npm package with the necessary features becomes available, we can switch to using the published package. 
    13  
    14 ==== Sequelize ==== 
    15  
    16 The latest version on npm as of 8/5/2011 is 1.0.2, which does not use a MySQL connection pool, and more importantly does not expose the MySQL connection. We need this because we run custom SQL queries for e.g. the instructor page. 
    17  
    18 Also, we need a newer version of node-mysql-pool to support node-mysql 0.9.2.  These changes are available in our fork of the project.  There is an [https://github.com/sdepold/sequelize/pull/85 outstanding pull request] on github, but in the meanwhile: 
    19  
    20 {{{ 
    21 $ git clone https://github.com/CarnegieLearning/sequelize.git 
    22 $ cd sequelize 
    23 $ sudo npm link 
    24 }}} 
    2513 
    2614==== connect-form ==== 
     
    7361$ git clone https://github.com/CarnegieLearning/MathFluency.git 
    7462$ cd MathFluency 
    75 $ npm link sequelize 
    7663$ npm link connect-form 
    7764$ npm link yabble 
     
    11299$ cd /var/www/testharness 
    113100$ git pull 
     101$ npm update 
    114102$ sudo restart testharness 
    115103}}} 
     
    122110$ cd /var/www/testharness-staging 
    123111$ git pull 
     112$ npm update 
    124113$ sudo restart testharness-staging 
    125114}}}