Results 1 to 9 of 9

Thread: Setting up a web app on production server

  1. #1
    Join Date
    Jan 2013
    Beans
    4

    Setting up a web app on production server

    I have an Ubuntu server which should serve my web application. So before I start I would like to know the best way to handle the application before deploying it. I heard that there are online tools to archive the files, delete the comments... etc. that we should considered when setting up a production server.

  2. #2
    Join Date
    Nov 2007
    Location
    Newry, Northern Ireland
    Beans
    1,189

    Re: Setting up a web app on production server

    Perhaps a little more info on what your web-app will do would help get you some answers. Is it a Wordpress/Joomla/Drupal/other CMS type website or a means of storing information for easy retrieval or something else?
    Can't think of anything profound or witty.
    My Blog: http://gonzothegeek.blogspot.co.uk/
    Bitcoin tips accepted: 1DZCCrkksxcUeLxiRbPcVb5T7buQ4VcNum
    Litecoin tips accepted: LMBqoNvVfEa7DDD3T71UgSXc9dCzNwjFJ1

  3. #3
    Join Date
    Jan 2013
    Beans
    4

    Re: Setting up a web app on production server

    Quote Originally Posted by spynappels View Post
    Perhaps a little more info on what your web-app will do would help get you some answers. Is it a Wordpress/Joomla/Drupal/other CMS type website or a means of storing information for easy retrieval or something else?
    it's a JavaScript/php application.
    currently I serve my app on apache httpd, so all my files are in www folder. I'm wondering if there is a tool to compress these files?

  4. #4
    Join Date
    Nov 2007
    Location
    Newry, Northern Ireland
    Beans
    1,189

    Re: Setting up a web app on production server

    Are you trying to remove comments from the PHP scripts to make their bytecount smaller? I'm sorry, I still don't understand what you are trying to achieve.

    The files need to be in a format that Apache and it's PHP engine can read for it to work, you could gzip every file and save some space, but the web-app wouldn't then work. Normally, these files are not very big anyway and don't take up much room, the dynamic content is normally what takes up a lot of room.
    Can't think of anything profound or witty.
    My Blog: http://gonzothegeek.blogspot.co.uk/
    Bitcoin tips accepted: 1DZCCrkksxcUeLxiRbPcVb5T7buQ4VcNum
    Litecoin tips accepted: LMBqoNvVfEa7DDD3T71UgSXc9dCzNwjFJ1

  5. #5
    Join Date
    Jan 2013
    Beans
    13

    Re: Setting up a web app on production server

    nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn

  6. #6
    Join Date
    Jan 2013
    Beans
    4

    Re: Setting up a web app on production server

    Quote Originally Posted by spynappels View Post
    Are you trying to remove comments from the PHP scripts to make their bytecount smaller?
    yes! that's what I was asking about. is that necessary in my case? I want to set up a production server so my clients can access my app remotely.

  7. #7
    Join Date
    Nov 2007
    Location
    Newry, Northern Ireland
    Beans
    1,189

    Re: Setting up a web app on production server

    You don't need to compress the files, you just need to place them in the appropriate folder on the web server and ensure that PHP is enabled in the server config.
    Can't think of anything profound or witty.
    My Blog: http://gonzothegeek.blogspot.co.uk/
    Bitcoin tips accepted: 1DZCCrkksxcUeLxiRbPcVb5T7buQ4VcNum
    Litecoin tips accepted: LMBqoNvVfEa7DDD3T71UgSXc9dCzNwjFJ1

  8. #8
    Join Date
    Jan 2005
    Location
    South Africa
    Beans
    2,106
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Setting up a web app on production server

    Quote Originally Posted by wardii View Post
    yes! that's what I was asking about. is that necessary in my case? I want to set up a production server so my clients can access my app remotely.
    No, that's not necessary. Unless you have 100 lines of comments for each line of php code
    If you don't make backups of your important data, your data is obviously not important to you.

  9. #9
    Join Date
    Jan 2013
    Beans
    4

    Re: Setting up a web app on production server

    Thank you guys!!

Bookmarks

Posting Permissions

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