HTML and CSS Reference
In-Depth Information
Figure 9-25. Capistrano deploy:setup output
Now you can deploy your application. Running the following command will do
so:
cap production deploy
If all goes well, you will see a final output similar to that shown in Figure 9-26.
Figure 9-26. Final Capistrano deploy output
The final thing to do is to create a symbolic link between the web root directory
and the current release. This allows you to keep revisions of your code on your
server, and for Capistrano to roll back if anything fails during deployment.
To do this, return to the terminal window connected to your server (the one used
to create the application folder and delete the public_html folder) and run the
following command:
ln -s application/current/ public_html
 
Search WWH ::




Custom Search