Results 1 to 2 of 2

Thread: Shell Script to deploy a Web Site/App

  1. #1
    Sencha Premium Member ethraza's Avatar
    Join Date
    Jun 2007
    Location
    Brazil
    Posts
    378
    Vote Rating
    9
      0  

    Thumbs up Shell Script to deploy a Web Site/App

    I started to read about ANT but I just didn't like what I saw. Maybe it was too much for what I want.
    So I wrote my own shell script to deploy a web site from development directory to the production directory.

    I'm putting it here in the hope that it will be useful for somebody else.

    If you are going to use it, choose what kind of minify tool you are going to use and uncomment or create the right lines.
    Here I'm using YUI compressor for css files and the Google Closure Compiler for the js files.


    ########################################################################
    #
    # * Web Deploy *
    #
    # Duplicate all the structure of a web site,
    # creating the directories if necessary,
    # minifying the .js and .css files and
    # copying the rest with options to
    # concatenate, just copy or skip some files.
    #
    # - 1.2 - 20/01/2011 - Allan Brazute Alves (EthraZa) - allan(at)ghsix.com.br
    # * added -u option to cp in copyFl function
    #
    # - 1.1 - 01/12/2010 - Allan Brazute Alves (EthraZa) - allan(at)ghsix.com.br
    # * concat function added
    # * site (folder) conf added (the site this script deploys)
    #
    # - 1.0 - 20/10/2010 - Allan Brazute Alves (EthraZa) - allan(at)ghsix.com.br
    #
    ########################################################################
    Attached Files Attached Files
    Last edited by ethraza; 22 Jan 2011 at 8:43 PM. Reason: Updated to version 1.2
    LAMPE (Linux / Apache / MySQL / PHP / ExtJs)

  2. #2

Similar Threads

  1. Creating mobile web app from traditional Struts web app
    By dac0nvu in forum Sencha Touch 1.x: Discussion
    Replies: 3
    Last Post: 5 Oct 2010, 6:06 AM
  2. Reg:- How to deploy sencha touch app. on application server
    By krmanoj in forum Sencha Touch 1.x: Discussion
    Replies: 4
    Last Post: 9 Aug 2010, 4:07 AM
  3. Ext Subversion builder shell script
    By jclawson in forum Ext 3.x: User Extensions and Plugins
    Replies: 0
    Last Post: 11 Dec 2009, 10:40 AM
  4. web site with 4 frames
    By andynuss in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 10 Jul 2009, 3:40 AM
  5. Show us your public site/app
    By nightowl in forum Community Discussion
    Replies: 3
    Last Post: 5 Jul 2008, 11:56 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •