-
-
Notifications
You must be signed in to change notification settings - Fork 430
Deploying
Ilya Radchenko edited this page May 11, 2015
·
7 revisions
Use the strider-custom
plugin. From there open the custom options and in the Deploy
section put the following:
sudo rm -rf /var/www/myapp.com
sudo cp -r $PWD /var/www/myapp.com
cd /var/www/myapp.com
sudo stop myapp.com
sudo start myapp.com
The above assumes that you have an nginx config in sites-enabled called myapp.com
and you also have an upstart config called myapp.com
. Your application is also copied to /var/www/myapp.com
.
Note: Make sure that the Custom plugin is after your main application plugin in the plugins page, on the enabled side.