1. #1
    Sencha Premium Member ethraza's Avatar
    Join Date
    Jun 2007
    Location
    Brazil
    Posts
    362
    Vote Rating
    3
    ethraza is on a distinguished road

      0  

    Thumbs up Shell Script to deploy a Web Site/App

    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
    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
    Sencha - Community Support Team jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,361
    Vote Rating
    81
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    pretty cool.

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

Thread Participants: 1

Tags for this Thread