title | sort |
---|---|
Deployment |
0 |
{% hint style="warning" %}
{% endhint %}
- Run
gulp build
. This will build your project into thedist
folder by default. - Zip up the contents of your
dist
folder and send it off to your server. - On your server, unzip your built files somewhere on the disk. Ex: in a
myproj
folder. -
$ cd myproj
-
$ NODE_ENV=production node ./server