Advertisement
Guest User

RAPP

a guest
Nov 30th, 2010
391
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.52 KB | None | 0 0
  1. [nmutiara@niamutiara ntics]$ rm -rf .git
  2. [nmutiara@niamutiara ntics]$ wn init
  3. Webbynode Rapp - http://rapp.webbynode.com
  4.  
  5. Set deployment Webby to webby4473.
  6. [Webbynode] Initializing application ntics with dns ntics
  7.  
  8. Initializing directory structure...
  9.  
  10. Initializing git and applying initial commit...
  11. Adding webbynode as git remote...
  12.  
  13. [Webbynode] Application ntics ready for Rapid Deployment
  14. [nmutiara@niamutiara ntics]$ wn push
  15. [Webbynode] Pushing ntics
  16. Note: Rapp Engine updated
  17.  
  18. Counting objects: 122, done.
  19. Delta compression using up to 2 threads.
  20. Compressing objects: 100% (102/102), done.
  21. Writing objects: 100% (122/122), 65.28 KiB, done.
  22. Total 122 (delta 3), reused 0 (delta 0)
  23. remote: HEAD is now at 006dcd4 Initial commit
  24. remote:
  25. remote: ----------------------------
  26. remote:   Webbynode git deployment
  27. remote: ----------------------------
  28. remote:
  29. remote: Nginx+Passenger webserver detected...
  30. remote: Setting up DNS...
  31. remote:
  32. remote: Deploying application ntics as ntics.webbyapp.com...
  33. remote:
  34. remote: Configuring addons...
  35. remote:
  36. remote: Configuring Rails 3 application...
  37. remote:   => Configuring nginx vHost...
  38. remote:   => Configuring database...
  39. remote:   => Configuring database.yml...
  40. remote:   => Bundling gems...
  41. remote:   => Migrating database...
  42. remote: /var/rapp/ntics
  43. remote:
  44. remote: Restarting nginx
  45. remote:
  46. remote: ntics deployed successfully.
  47. remote:
  48. remote: Created http://ntics.webbyapp.com/
  49. remote:
  50. To ssh://git@server/var/rapp/ntics
  51.  * [new branch]      master -> master
  52.  
  53. [Webbynode] Finished pushing ntics
  54. [nmutiara@niamutiara ntics]$ wn apps
  55. Application: ntics
  56.         URL: http://ntics.webbyapp.com
  57.      Engine: rails3
  58.      Folder: /var/rapp/ntics
  59. Last change: Initial commit (Nia Mutiara, 7 minutes ago) - 006dcd4
  60.  
  61. [nmutiara@niamutiara ntics]$ wn change_dns mydns.com
  62. [Webbynode] Changing DNS to mydns.com...
  63. Creating DNS entry for mydns.com...
  64. Your application will start responding to mydns.com after next deployment.
  65.  
  66. [nmutiara@niamutiara ntics]$ wn push
  67. [Webbynode] Pushing ntics
  68. Counting objects: 7, done.
  69. Delta compression using up to 2 threads.
  70. Compressing objects: 100% (3/3), done.
  71. Writing objects: 100% (4/4), 373 bytes, done.
  72. Total 4 (delta 2), reused 0 (delta 0)
  73. remote: HEAD is now at bbe2af8 Changed DNS to "mydns.com"
  74. remote:
  75. remote: ----------------------------
  76. remote:   Webbynode git deployment
  77. remote: ----------------------------
  78. remote:
  79. remote: Nginx+Passenger webserver detected...
  80. remote: Application dns entry changed from ntics.webbyapp.com to nmutiara.co.cc
  81. remote:   => Fixing mapping
  82. remote:   => Removing vHost for ntics.webbyapp.com
  83. # I have deleted the virtual host configuration manually.
  84. remote: rm: cannot remove `/opt/nginx/phd-sites/ntics.webbyapp.com': No such file or directory
  85. remote:
  86. remote: Deploying application ntics as mydns.com...
  87. remote:
  88. remote: Configuring addons...
  89. remote:
  90. remote: Configuring Rails 3 application...
  91. remote:   => Configuring nginx vHost...
  92. remote:      Already configured!
  93. remote:   => Configuring database...
  94. remote:   => Bundling gems...
  95. remote:   => Migrating database...
  96. remote: /var/rapp/ntics
  97. remote:
  98. remote: Restarting nginx
  99. remote:
  100. remote: ntics deployed successfully.
  101. remote:
  102. To ssh://git@server/var/rapp/ntics
  103.   006dcd4..bbe2af8  master -> master
  104.  
  105. [Webbynode] Finished pushing ntics
  106. [nmutiara@niamutiara ntics]$ wn apps
  107. Application: ntics
  108.     Engine: rails3
  109.     Folder: /var/rapp/ntics
  110. Last change: Changed DNS to "mydns.com" (Nia Mutiara, 2 minutes ago) - bbe2af8
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement