-
Notifications
You must be signed in to change notification settings - Fork 0
/
deployingtoproduction.html
30 lines (19 loc) · 1.39 KB
/
deployingtoproduction.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
layout: default
head_title: "LESK: Deploying to production"
title: Deploying to production
---
<div class="row">
<div class="12u">
<p>Before deploying to a production or live server, you should take care of a few tasks.</p>
<h3>Combine and minimise</h3>
<p>Although not required, it may be helpful to combine and minimise both the CSS and JS files. Add any CSS and JS file
that you may have added to the <em>styles</em> and <em>scripts</em> command (respectively) in the <em>gulpfile.js</em> and run the
<em>gulp</em> command with the <em>--production</em> command line parameter to trigger the minimization process, as shown
below:</p>
<pre><code>gulp --production</code></pre>
<h3>Review and encrypt settings</h3>
<p>Carefully review the configuration of all settings and environment variables and consider encrypting the settings that may be sensitive. Settings can be encrypted via the web interface by checking the checkbox on the edit page of each setting or by using the artisan command. Remember to export and save to file all changed setting, encrypted or not.</p>
</div>
</div>
{% include footer.html prev_page="contextsensitivehelp" prev_title="Context sensitive help" next_page="tips" next_title="Tips" %}