Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[faq] added how to run bower install common question

  • Loading branch information...
commit 54605f47b89a3a6eebea8303a041e6f09857c432 1 parent f4d1713
@cronopio cronopio authored
Showing with 15 additions and 0 deletions.
  1. +15 −0 content/faq/index.md
View
15 content/faq/index.md
@@ -33,6 +33,7 @@
* [How to target an application through a specific load balancer?](#how-to-target-an-application-through-a-specific-load-balancer)
* [How to target a specific drone of an application?](#how-to-target-a-specific-drone-of-an-application)
* [How to share my account without sharing my password?](#how-to-share-my-account-without-sharing-my-password)
+ * [How to run bower install before a deploy?](#how-to-run-bower-install-before-a-deploy)
## How do I reset my password?
@@ -518,6 +519,20 @@ $ jitsu config set apiToken xxx-xxx-xxx-xxx
$ jitsu config set username myusername
```
+## How to run bower install before a deploy?
+
+You need to install your front-end dependencies before upload your snapshot, so, you need to run `bower install` just before make a deploy.
+
+We offer two additional script fields `predeploy` and `postdeploy` at package.json wich both run on your local machine. Just add the next to your package.json in the scripts section:
+
+```
+{
+ "scripts": {
+ "predeploy": "bower install"
+ }
+}
+```
+
[logs]: https://www.nodejitsu.com/documentation/jitsu/logs/#tailing-logs
[docs]: http://socket.io/#how-to-use
[list]: https://www.nodejitsu.com/documentation/features/dns/#individual-plans
Please sign in to comment.
Something went wrong with that request. Please try again.