Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Setting up staging and versioning?

Posted on 2014-01-24
2
Medium Priority
?
303 Views
Last Modified: 2014-01-28
hi guys,

we're a start up company and have hosted our servers in the Amazon cloud. I am working on the infrastructure. The site is mainly coded in php/html and javascript. And this is all on an EC2 server (i.e. a Linux server)

We only have one web server and a development server (windows 2008) on this cloud.

The developers need a staging environment and a versioning system.

I'm new to creating such an environment. Are you able to guide me or be able to give me some tips, but in lamen terms, as to what the best way to proceed with setting up with a staging environment would be and what tools you would use for versioning?

How would you go about setting up the staging? Would it just be another linux server that is a duplicate of the live one, but with a hidden public IP so it can be tested?

And about the versioning? I'm utterly new to that, never done anything with that.

Any ideas, would be fantastic.

Thank you
Yashy
0
Comment
Question by:Yashy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 111

Accepted Solution

by:
Ray Paseur earned 2000 total points
ID: 39806237
For version control: Get a bitbucket account and create a repository.  You will go through a lot of steps, learning Git and learning the terms like clone, fork, pull, etc.  Don't expect to master it in a day, but with a week of practice you will know it well.  There is also this article by one of our colleagues at EE that explains a lot of the concepts and terminology:
http://www.experts-exchange.com/Software/Development/Management_Debug/Version_Control_CVS/A_12235-Git-101.html

For staging and testing you might find that a separate subdomain is a good way to go.  For example, you could have site.com and test.site.com and stage.site.com.  Each of these instances has its own purpose.  The host can help you set up subdomains.  On my web server, my subdomains have different directories inside the public_html folder.

The QC process from test to stage to full deployment will undoubtedly require several unit and integration tests.  To the extent that you can automate these tests, do so.  It will pay you big dividends and create an environment of continuous integration, allowing for many small steps in the development cycle, instead of one giant leap.

You will also want to automate a "build" process that rolls the latest versions from the developers' repositories into the test domain or the stage domain.  This process will replace everything with the goal being that after a stable test or stage domain is loaded with code and the data model, the automated unit and integration tests can be run immediately to isolate any issues.
0
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 39816219
Thanks for the points and good luck with your project, ~Ray
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
This article discusses how to implement server side field validation and display customized error messages to the client.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

704 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question