Solved

Setting up staging and versioning?

Posted on 2014-01-24
2
268 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
  • 2
2 Comments
 
LVL 108

Accepted Solution

by:
Ray Paseur earned 500 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 108

Expert Comment

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

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
PHP and Soap 3 30
html input clean up 3 32
Public IP Address Amazon Servers 2 14
PHP JSON Clean up 5 11
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to dynamically set the form action using jQuery.
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…

743 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now