{"id":"4557617","type":"page","title":"Deploy from tar file","body":{"view":{"value":"<p>Once you have clicked <strong>Build</strong> to package an application to an archive (tar) file, you can then deploy the archive to StrongLoop Process Manager.</p><p><em><strong>But first, you must start StrongLoop Process Manager</strong></em> on the deployment system.  To start Process Manager as a transient process, use the <code>slc pm</code> command, for example:</p><pre>$ slc pm -l 1234</pre><p>This starts Process Manager listening on port 1234. <span> </span><strong>NOTE</strong><span>: By default, StrongLoop Process Manager listens on port 8701; use the </span><code>-l</code><span> option to specify a different port.</span></p><p>On production systems, install Process Manager as a service.  <span>See </span><a href=\"http://docs.strongloop.com/display/SLC/Using+Process+Manager\" target=\"_new\">Using Process Manager</a><span> for more information. </span></p><p>Enter:</p><ul><li><strong>Fully qualified path to archive</strong> - File path to the .tgz file containing the application package.</li><li><strong>Hostname</strong> - Name of the host system you're deploying to.</li><li><strong>Port</strong> - Port number where Process Manager is listening (for example, the argument to the <code>-l</code> option above).</li><li><strong>Processes</strong> - Number of processes to initially run the application in.</li></ul><p>Click <strong>Deploy</strong> to deploy the application to the specified StrongLoop Process Manager instance.</p>","representation":"view","_expandable":{"content":"/rest/api/content/4557617"}},"_expandable":{"editor":"","export_view":"","storage":""}},"_links":{"webui":"/display/ARC/Deploy+from+tar+file","tinyui":"/x/MYtF","collection":"/rest/api/content","base":"https://docs.strongloop.com","self":"https://docs.strongloop.com/rest/api/content/4557617"},"_expandable":{"history":"/rest/api/content/4557617/history","container":"","ancestors":"","children":"/rest/api/content/4557617/child","descendants":"/rest/api/content/4557617/descendant","space":"/rest/api/space/ARC","version":"","metadata":""}}
