Webmaker/Code/Dev/Environment: Difference between revisions

Jump to navigation Jump to search
Line 86: Line 86:


=== Staying Up-to-date ===
=== Staying Up-to-date ===
As we improve features (day-to-day), we release them into the wild almost immediately! For this reason, it's important to keep your servers running the latest code.  These commands will use <code>git</code> to pull the latest updates from the Mozilla repo, and then reinstall the node ''modules'' (or libraries).  If you followed each server's installation instructions exactly, <code>[mozilla upstream remote]</code> should be replaced with <code>origin</code>.  Otherwise, replace it with whatever you labeled the Mozilla [http://git-scm.com/book/en/Git-Basics-Working-with-Remotes remote].  
As we improve features (day-to-day), we release them into the wild almost immediately! For this reason, it's important to keep your servers running the latest code.  
 
==== Webmaker-suite ====
Follow the update instructions listed in the [https://github.com/mozilla/webmaker-suite#updating-the-suite Webmaker-suite README section on the topic].
 
==== Manual installation ====
  These commands will use <code>git</code> to pull the latest updates from the Mozilla repo, and then reinstall the node ''modules'' (or libraries).  If you followed each server's installation instructions exactly, <code>[mozilla upstream remote]</code> should be replaced with <code>origin</code>.  Otherwise, replace it with whatever you labeled the Mozilla [http://git-scm.com/book/en/Git-Basics-Working-with-Remotes remote].  


* Dirty update (try this first): <code>git checkout master && git pull [mozilla upstream remote] master && npm install</code>
* Dirty update (try this first): <code>git checkout master && git pull [mozilla upstream remote] master && npm install</code>
20

edits

Navigation menu